#2F5E96#2F5E96

#2F5E96 is a mid, moderate cyan. Relative luminance 0.108; OKLCH L 47.7% C 0.105 H 254.2°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#2F5E96
RGBrgb(47, 94, 150)
HSLhsl(213, 52%, 39%)
HSVhsv(213, 69%, 59%)
CMYKcmyk(68.7%, 37.3%, 0%, 41.2%)
CIE-LABlab(39.26, 3.07, -35.40)
CIE-LCHlch(39.26, 35.54, 274.96°)
OKLaboklab(47.68% -0.0284 -0.1006)
OKLCHoklch(47.68% 0.105 254.2)
XYZxyz(10.6780, 10.8107, 30.3722)
Luminance0.1081 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5E96 #96672F
analogous
#2F9196 #2F5E96 #332F96
triadic
#2F5E96 #962F5E #5E962F
tetradic
#2F5E96 #962F91 #96672F #2F9633
square
#2F5E96 #962F91 #96672F #2F9633
split-complementary
#2F5E96 #96332F #91962F
monochromatic
#122439 #204167 #2F5E96 #3F7BC3 #6E9BD2

Accessibility & contrast

On white

6.64
#2F5E96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#2F5E96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F5E96
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5E96#FFFFFF#000000##FFFFFF
##2F5E961.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#456298
Deuteranopia (green-blind)
#365895
Tritanopia (blue-blind)
#006B73
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2f5e96;
/* rgb */ color: rgb(47, 94, 150);
/* oklch */ color: oklch(47.7% 0.105 254.2);
Tailwind
colors: {
  custom: {
    50: '#738bb5',
    500: '#2f5e96',
    950: '#000000',
  },
}
SCSS
$custom: #2f5e96;
$custom-light: #738bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5e96",
  "rgb": {
    "r": 47,
    "g": 94,
    "b": 150
  },
  "hsl": {
    "h": 212.621,
    "s": 52.284,
    "l": 38.627
  },
  "oklch": {
    "l": 0.47683,
    "c": 0.10453,
    "h": 254.2
  },
  "luminance": 0.10812
}

Semantic roles & 50–950 ramp

primary
#2F5E96
secondary
#B99468
accent
#9A4CDC
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2F5E96

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

Preview Lab → · Contrast checker → · Palette generator →

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