#2A6895#2A6895

#2A6895 is a mid, moderate cyan. Relative luminance 0.126; OKLCH L 49.8% C 0.096 H 243.5°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#2A6895
RGBrgb(42, 104, 149)
HSLhsl(205, 56%, 37%)
HSVhsv(205, 72%, 58%)
CMYKcmyk(71.8%, 30.2%, 0%, 41.6%)
CIE-LABlab(42.10, -4.35, -30.35)
CIE-LCHlch(42.10, 30.66, 261.84°)
OKLaboklab(49.84% -0.0427 -0.0858)
OKLCHoklch(49.84% 0.096 243.5)
XYZxyz(11.3279, 12.5616, 30.2556)
Luminance0.1256 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6895 #95572A
analogous
#2A958D #2A6895 #2A3295
triadic
#2A6895 #952A68 #68952A
tetradic
#2A6895 #8D2A95 #95572A #32952A
square
#2A6895 #8D2A95 #95572A #32952A
split-complementary
#2A6895 #952A32 #958D2A
monochromatic
#0F2536 #1D4765 #2A6895 #3789C5 #66A5D4

Accessibility & contrast

On white

5.98
#2A6895 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#2A6895 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6895
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6895#FFFFFF#000000##FFFFFF
##2A68951.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#546997
Deuteranopia (green-blind)
#455F94
Tritanopia (blue-blind)
#007378
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2a6895;
/* rgb */ color: rgb(42, 104, 149);
/* oklch */ color: oklch(49.8% 0.096 243.5);
Tailwind
colors: {
  custom: {
    50: '#7192b4',
    500: '#2a6895',
    950: '#000000',
  },
}
SCSS
$custom: #2a6895;
$custom-light: #7192b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6895",
  "rgb": {
    "r": 42,
    "g": 104,
    "b": 149
  },
  "hsl": {
    "h": 205.234,
    "s": 56.021,
    "l": 37.451
  },
  "oklch": {
    "l": 0.49843,
    "c": 0.09581,
    "h": 243.5
  },
  "luminance": 0.12563
}

Semantic roles & 50–950 ramp

primary
#2A6895
secondary
#BA8661
accent
#8848DF
background
#F7F9FB
surface
#EDF1F6
border
#C8CBD0
text
#090D11
muted
#7B7E80

Preview Lab

Preview with #2A6895

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#2A6895 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva