#2F5D96#2F5D96

#2F5D96 is a mid, moderate cyan. Relative luminance 0.106; OKLCH L 47.4% C 0.106 H 255.0°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#2F5D96
RGBrgb(47, 93, 150)
HSLhsl(213, 52%, 39%)
HSVhsv(213, 69%, 59%)
CMYKcmyk(68.7%, 38%, 0%, 41.2%)
CIE-LABlab(38.96, 3.71, -35.88)
CIE-LCHlch(38.96, 36.07, 275.90°)
OKLaboklab(47.45% -0.0274 -0.102)
OKLCHoklch(47.45% 0.106 255)
XYZxyz(10.5897, 10.6340, 30.3427)
Luminance0.1064 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5D96 #96682F
analogous
#2F9096 #2F5D96 #342F96
triadic
#2F5D96 #962F5D #5D962F
tetradic
#2F5D96 #962F90 #96682F #2F9634
square
#2F5D96 #962F90 #96682F #2F9634
split-complementary
#2F5D96 #96342F #90962F
monochromatic
#122339 #204067 #2F5D96 #3F7AC3 #6E9AD2

Accessibility & contrast

On white

6.72
#2F5D96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#2F5D96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F5D96
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5D96#FFFFFF#000000##FFFFFF
##2F5D961.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#446198
Deuteranopia (green-blind)
#355795
Tritanopia (blue-blind)
#006A72
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2f5d96;
/* rgb */ color: rgb(47, 93, 150);
/* oklch */ color: oklch(47.4% 0.106 255.0);
Tailwind
colors: {
  custom: {
    50: '#738ab5',
    500: '#2f5d96',
    950: '#000000',
  },
}
SCSS
$custom: #2f5d96;
$custom-light: #738ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5d96",
  "rgb": {
    "r": 47,
    "g": 93,
    "b": 150
  },
  "hsl": {
    "h": 213.204,
    "s": 52.284,
    "l": 38.627
  },
  "oklch": {
    "l": 0.47447,
    "c": 0.10562,
    "h": 255
  },
  "luminance": 0.10635
}

Semantic roles & 50–950 ramp

primary
#2F5D96
secondary
#B99568
accent
#9C4CDC
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2F5D96

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

Preview Lab → · Contrast checker → · Palette generator →

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