#2F5E9E#2F5E9E

#2F5E9E is a mid, moderate cyan. Relative luminance 0.111; OKLCH L 48.2% C 0.116 H 256.8°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#2F5E9E
RGBrgb(47, 94, 158)
HSLhsl(215, 54%, 40%)
HSVhsv(215, 70%, 62%)
CMYKcmyk(70.3%, 40.5%, 0%, 38%)
CIE-LABlab(39.71, 6.05, -39.48)
CIE-LCHlch(39.71, 39.94, 278.71°)
OKLaboklab(48.18% -0.0264 -0.1125)
OKLCHoklch(48.18% 0.116 256.8)
XYZxyz(11.3443, 11.0772, 33.8814)
Luminance0.1108 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5E9E #9E6F2F
analogous
#2F959E #2F5E9E #382F9E
triadic
#2F5E9E #9E2F5E #5E9E2F
tetradic
#2F5E9E #9E2F95 #9E6F2F #2F9E38
square
#2F5E9E #9E2F95 #9E6F2F #2F9E38
split-complementary
#2F5E9E #9E382F #959E2F
monochromatic
#132640 #21426F #2F5E9E #437BC7 #729CD5

Accessibility & contrast

On white

6.53
#2F5E9E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#2F5E9E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F5E9E
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5E9E#FFFFFF#000000##FFFFFF
##2F5E9E1.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4163A1
Deuteranopia (green-blind)
#2F599D
Tritanopia (blue-blind)
#006D76
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2f5e9e;
/* rgb */ color: rgb(47, 94, 158);
/* oklch */ color: oklch(48.2% 0.116 256.8);
Tailwind
colors: {
  custom: {
    50: '#758bbb',
    500: '#2f5e9e',
    950: '#000000',
  },
}
SCSS
$custom: #2f5e9e;
$custom-light: #758bbb;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5e9e",
  "rgb": {
    "r": 47,
    "g": 94,
    "b": 158
  },
  "hsl": {
    "h": 214.595,
    "s": 54.146,
    "l": 40.196
  },
  "oklch": {
    "l": 0.48181,
    "c": 0.11558,
    "h": 256.8
  },
  "luminance": 0.11078
}

Semantic roles & 50–950 ramp

primary
#2F5E9E
secondary
#BD9B6C
accent
#9F4ADE
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2F5E9E

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

Preview Lab → · Contrast checker → · Palette generator →

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