#2D5892#2D5892

#2D5892 is a mid, moderate cyan. Relative luminance 0.096; OKLCH L 45.9% C 0.106 H 256.5°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#2D5892
RGBrgb(45, 88, 146)
HSLhsl(214, 53%, 37%)
HSVhsv(214, 69%, 57%)
CMYKcmyk(69.2%, 39.7%, 0%, 42.7%)
CIE-LABlab(37.14, 5.09, -36.37)
CIE-LCHlch(37.14, 36.72, 277.97°)
OKLaboklab(45.93% -0.0248 -0.1035)
OKLCHoklch(45.93% 0.106 256.5)
XYZxyz(9.7583, 9.6117, 28.5295)
Luminance0.0961 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5892 #92672D
analogous
#2D8B92 #2D5892 #342D92
triadic
#2D5892 #922D58 #58922D
tetradic
#2D5892 #922D8B #92672D #2D9234
square
#2D5892 #922D8B #92672D #2D9234
split-complementary
#2D5892 #92342D #8B922D
monochromatic
#102034 #1F3C63 #2D5892 #3B74C1 #6995D1

Accessibility & contrast

On white

7.19
#2D5892 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#2D5892 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5892
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5892#FFFFFF#000000##FFFFFF
##2D58921.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5D94
Deuteranopia (green-blind)
#2F5391
Tritanopia (blue-blind)
#00656E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2d5892;
/* rgb */ color: rgb(45, 88, 146);
/* oklch */ color: oklch(45.9% 0.106 256.5);
Tailwind
colors: {
  custom: {
    50: '#7286b2',
    500: '#2d5892',
    950: '#000000',
  },
}
SCSS
$custom: #2d5892;
$custom-light: #7286b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5892",
  "rgb": {
    "r": 45,
    "g": 88,
    "b": 146
  },
  "hsl": {
    "h": 214.455,
    "s": 52.88,
    "l": 37.451
  },
  "oklch": {
    "l": 0.45932,
    "c": 0.10644,
    "h": 256.5
  },
  "luminance": 0.09613
}

Semantic roles & 50–950 ramp

primary
#2D5892
secondary
#B79463
accent
#9F4CDC
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2D5892

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

Preview Lab → · Contrast checker → · Palette generator →

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