#2F5B97#2F5B97

#2F5B97 is a mid, moderate cyan. Relative luminance 0.103; OKLCH L 47.0% C 0.109 H 256.7°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#2F5B97
RGBrgb(47, 91, 151)
HSLhsl(215, 53%, 39%)
HSVhsv(215, 69%, 59%)
CMYKcmyk(68.9%, 39.7%, 0%, 40.8%)
CIE-LABlab(38.41, 5.36, -37.35)
CIE-LCHlch(38.41, 37.73, 278.17°)
OKLaboklab(47.04% -0.0251 -0.1063)
OKLCHoklch(47.04% 0.109 256.7)
XYZxyz(10.4973, 10.3198, 30.7109)
Luminance0.1032 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5B97 #976B2F
analogous
#2F8F97 #2F5B97 #372F97
triadic
#2F5B97 #972F5B #5B972F
tetradic
#2F5B97 #972F8F #976B2F #2F9737
square
#2F5B97 #972F8F #976B2F #2F9737
split-complementary
#2F5B97 #97372F #8F972F
monochromatic
#12233A #203F68 #2F5B97 #4077C3 #6E99D2

Accessibility & contrast

On white

6.85
#2F5B97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#2F5B97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F5B97
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5B97#FFFFFF#000000##FFFFFF
##2F5B971.006.853.066.85
#FFFFFF6.851.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#406099
Deuteranopia (green-blind)
#305696
Tritanopia (blue-blind)
#006971
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2f5b97;
/* rgb */ color: rgb(47, 91, 151);
/* oklch */ color: oklch(47.0% 0.109 256.7);
Tailwind
colors: {
  custom: {
    50: '#7489b6',
    500: '#2f5b97',
    950: '#000000',
  },
}
SCSS
$custom: #2f5b97;
$custom-light: #7489b6;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5b97",
  "rgb": {
    "r": 47,
    "g": 91,
    "b": 151
  },
  "hsl": {
    "h": 214.615,
    "s": 52.525,
    "l": 38.824
  },
  "oklch": {
    "l": 0.47039,
    "c": 0.10925,
    "h": 256.7
  },
  "luminance": 0.10321
}

Semantic roles & 50–950 ramp

primary
#2F5B97
secondary
#B99768
accent
#9F4CDC
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2F5B97

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

Preview Lab → · Contrast checker → · Palette generator →

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