#2A5E9D#2A5E9D

#2A5E9D is a mid, moderate cyan. Relative luminance 0.109; OKLCH L 47.9% C 0.116 H 254.9°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#2A5E9D
RGBrgb(42, 94, 157)
HSLhsl(213, 58%, 39%)
HSVhsv(213, 73%, 62%)
CMYKcmyk(73.2%, 40.1%, 0%, 38.4%)
CIE-LABlab(39.46, 4.90, -39.28)
CIE-LCHlch(39.46, 39.59, 277.11°)
OKLaboklab(47.92% -0.0303 -0.112)
OKLCHoklch(47.92% 0.116 254.9)
XYZxyz(11.0411, 10.9308, 33.4197)
Luminance0.1093 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5E9D #9D692A
analogous
#2A989D #2A5E9D #302A9D
triadic
#2A5E9D #9D2A5E #5E9D2A
tetradic
#2A5E9D #9D2A98 #9D692A #2A9D30
square
#2A5E9D #9D2A98 #9D692A #2A9D30
split-complementary
#2A5E9D #9D302A #989D2A
monochromatic
#10243C #1D416D #2A5E9D #3A7BCA #6A9BD7

Accessibility & contrast

On white

6.59
#2A5E9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#2A5E9D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A5E9D
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5E9D#FFFFFF#000000##FFFFFF
##2A5E9D1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4163A0
Deuteranopia (green-blind)
#2F589C
Tritanopia (blue-blind)
#006D76
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2a5e9d;
/* rgb */ color: rgb(42, 94, 157);
/* oklch */ color: oklch(47.9% 0.116 254.9);
Tailwind
colors: {
  custom: {
    50: '#738bba',
    500: '#2a5e9d',
    950: '#000000',
  },
}
SCSS
$custom: #2a5e9d;
$custom-light: #738bba;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5e9d",
  "rgb": {
    "r": 42,
    "g": 94,
    "b": 157
  },
  "hsl": {
    "h": 212.87,
    "s": 57.789,
    "l": 39.02
  },
  "oklch": {
    "l": 0.47917,
    "c": 0.11606,
    "h": 254.9
  },
  "luminance": 0.10932
}

Semantic roles & 50–950 ramp

primary
#2A5E9D
secondary
#BE9665
accent
#9B47E1
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2A5E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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