#2A5E90#2A5E90

#2A5E90 is a mid, moderate cyan. Relative luminance 0.105; OKLCH L 47.1% C 0.099 H 249.9°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#2A5E90
RGBrgb(42, 94, 144)
HSLhsl(209, 55%, 36%)
HSVhsv(209, 71%, 56%)
CMYKcmyk(70.8%, 34.7%, 0%, 43.5%)
CIE-LABlab(38.74, 0.00, -32.62)
CIE-LCHlch(38.74, 32.62, 270.00°)
OKLaboklab(47.12% -0.0338 -0.0925)
OKLCHoklch(47.12% 0.099 249.9)
XYZxyz(9.9897, 10.5102, 27.8823)
Luminance0.1051 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5E90 #905C2A
analogous
#2A908F #2A5E90 #2A2B90
triadic
#2A5E90 #902A5E #5E902A
tetradic
#2A5E90 #8F2A90 #905C2A #2B902A
square
#2A5E90 #8F2A90 #905C2A #2B902A
split-complementary
#2A5E90 #902A2B #908F2A
monochromatic
#0E2031 #1C3F61 #2A5E90 #387DBF #639BD1

Accessibility & contrast

On white

6.77
#2A5E90 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#2A5E90 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A5E90
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5E90#FFFFFF#000000##FFFFFF
##2A5E901.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#486192
Deuteranopia (green-blind)
#39578F
Tritanopia (blue-blind)
#006A70
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2a5e90;
/* rgb */ color: rgb(42, 94, 144);
/* oklch */ color: oklch(47.1% 0.099 249.9);
Tailwind
colors: {
  custom: {
    50: '#708bb1',
    500: '#2a5e90',
    950: '#000000',
  },
}
SCSS
$custom: #2a5e90;
$custom-light: #708bb1;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5e90",
  "rgb": {
    "r": 42,
    "g": 94,
    "b": 144
  },
  "hsl": {
    "h": 209.412,
    "s": 54.839,
    "l": 36.471
  },
  "oklch": {
    "l": 0.47119,
    "c": 0.09851,
    "h": 249.9
  },
  "luminance": 0.10511
}

Semantic roles & 50–950 ramp

primary
#2A5E90
secondary
#B78A5E
accent
#924ADE
background
#F7F8FA
surface
#EDF0F5
border
#C8CBCF
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #2A5E90

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

Preview Lab → · Contrast checker → · Palette generator →

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