#2F5992#2F5992

#2F5992 is a mid, moderate cyan. Relative luminance 0.098; OKLCH L 46.3% C 0.104 H 256.6°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#2F5992
RGBrgb(47, 89, 146)
HSLhsl(215, 51%, 38%)
HSVhsv(215, 68%, 57%)
CMYKcmyk(67.8%, 39%, 0%, 42.7%)
CIE-LABlab(37.52, 4.79, -35.75)
CIE-LCHlch(37.52, 36.07, 277.64°)
OKLaboklab(46.26% -0.0242 -0.1017)
OKLCHoklch(46.26% 0.105 256.6)
XYZxyz(9.9311, 9.8234, 28.5613)
Luminance0.0982 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5992 #92682F
analogous
#2F8A92 #2F5992 #362F92
triadic
#2F5992 #922F59 #59922F
tetradic
#2F5992 #922F8A #92682F #2F9236
square
#2F5992 #922F8A #92682F #2F9236
split-complementary
#2F5992 #92362F #8A922F
monochromatic
#112135 #203D64 #2F5992 #3E75C0 #6C96D0

Accessibility & contrast

On white

7.08
#2F5992 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#2F5992 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5992
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5992#FFFFFF#000000##FFFFFF
##2F59921.007.082.967.08
#FFFFFF7.081.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405D94
Deuteranopia (green-blind)
#315491
Tritanopia (blue-blind)
#00666E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2f5992;
/* rgb */ color: rgb(47, 89, 146);
/* oklch */ color: oklch(46.3% 0.104 256.6);
Tailwind
colors: {
  custom: {
    50: '#7387b2',
    500: '#2f5992',
    950: '#000000',
  },
}
SCSS
$custom: #2f5992;
$custom-light: #7387b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5992",
  "rgb": {
    "r": 47,
    "g": 89,
    "b": 146
  },
  "hsl": {
    "h": 214.545,
    "s": 51.295,
    "l": 37.843
  },
  "oklch": {
    "l": 0.46257,
    "c": 0.1045,
    "h": 256.6
  },
  "luminance": 0.09824
}

Semantic roles & 50–950 ramp

primary
#2F5992
secondary
#B79566
accent
#9F4DDB
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2F5992

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

Preview Lab → · Contrast checker → · Palette generator →

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