#2D5F94#2D5F94

#2D5F94 is a mid, moderate cyan. Relative luminance 0.109; OKLCH L 47.7% C 0.102 H 251.9°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#2D5F94
RGBrgb(45, 95, 148)
HSLhsl(211, 53%, 38%)
HSVhsv(211, 70%, 58%)
CMYKcmyk(69.6%, 35.8%, 0%, 42%)
CIE-LABlab(39.38, 1.36, -34.02)
CIE-LCHlch(39.38, 34.05, 272.28°)
OKLaboklab(47.72% -0.0315 -0.0966)
OKLCHoklch(47.72% 0.102 251.9)
XYZxyz(10.5177, 10.8793, 29.5569)
Luminance0.1088 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5F94 #94622D
analogous
#2D9294 #2D5F94 #2F2D94
triadic
#2D5F94 #942D5F #5F942D
tetradic
#2D5F94 #942D92 #94622D #2D942F
square
#2D5F94 #942D92 #94622D #2D942F
split-complementary
#2D5F94 #942F2D #92942D
monochromatic
#102336 #1F4165 #2D5F94 #3B7DC3 #6A9CD2

Accessibility & contrast

On white

6.61
#2D5F94 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#2D5F94 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D5F94
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5F94#FFFFFF#000000##FFFFFF
##2D5F941.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#476296
Deuteranopia (green-blind)
#395893
Tritanopia (blue-blind)
#006B72
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2d5f94;
/* rgb */ color: rgb(45, 95, 148);
/* oklch */ color: oklch(47.7% 0.102 251.9);
Tailwind
colors: {
  custom: {
    50: '#728cb3',
    500: '#2d5f94',
    950: '#000000',
  },
}
SCSS
$custom: #2d5f94;
$custom-light: #728cb3;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5f94",
  "rgb": {
    "r": 45,
    "g": 95,
    "b": 148
  },
  "hsl": {
    "h": 210.874,
    "s": 53.368,
    "l": 37.843
  },
  "oklch": {
    "l": 0.47717,
    "c": 0.10158,
    "h": 251.9
  },
  "luminance": 0.1088
}

Semantic roles & 50–950 ramp

primary
#2D5F94
secondary
#B89064
accent
#964BDD
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090C11
muted
#7B7D80

Preview Lab

Preview with #2D5F94

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

Preview Lab → · Contrast checker → · Palette generator →

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