#2F5F9E#2F5F9E

#2F5F9E is a mid, moderate cyan. Relative luminance 0.113; OKLCH L 48.4% C 0.114 H 256.1°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#2F5F9E
RGBrgb(47, 95, 158)
HSLhsl(214, 54%, 40%)
HSVhsv(214, 70%, 62%)
CMYKcmyk(70.3%, 39.9%, 0%, 38%)
CIE-LABlab(40.01, 5.41, -39.00)
CIE-LCHlch(40.01, 39.37, 277.89°)
OKLaboklab(48.41% -0.0274 -0.1111)
OKLCHoklch(48.41% 0.114 256.1)
XYZxyz(11.4338, 11.2562, 33.9112)
Luminance0.1126 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5F9E #9E6E2F
analogous
#2F969E #2F5F9E #372F9E
triadic
#2F5F9E #9E2F5F #5F9E2F
tetradic
#2F5F9E #9E2F96 #9E6E2F #2F9E37
square
#2F5F9E #9E2F96 #9E6E2F #2F9E37
split-complementary
#2F5F9E #9E372F #969E2F
monochromatic
#132640 #21436F #2F5F9E #437CC7 #729DD5

Accessibility & contrast

On white

6.46
#2F5F9E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#2F5F9E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F5F9E
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5F9E#FFFFFF#000000##FFFFFF
##2F5F9E1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4264A1
Deuteranopia (green-blind)
#315A9D
Tritanopia (blue-blind)
#006E77
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2f5f9e;
/* rgb */ color: rgb(47, 95, 158);
/* oklch */ color: oklch(48.4% 0.114 256.1);
Tailwind
colors: {
  custom: {
    50: '#758cbb',
    500: '#2f5f9e',
    950: '#000000',
  },
}
SCSS
$custom: #2f5f9e;
$custom-light: #758cbb;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5f9e",
  "rgb": {
    "r": 47,
    "g": 95,
    "b": 158
  },
  "hsl": {
    "h": 214.054,
    "s": 54.146,
    "l": 40.196
  },
  "oklch": {
    "l": 0.48413,
    "c": 0.11445,
    "h": 256.1
  },
  "luminance": 0.11257
}

Semantic roles & 50–950 ramp

primary
#2F5F9E
secondary
#BD9A6C
accent
#9E4ADE
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#090C12
muted
#7B7D81

Preview Lab

Preview with #2F5F9E

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

Preview Lab → · Contrast checker → · Palette generator →

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