#2F5A92#2F5A92

#2F5A92 is a mid, moderate cyan. Relative luminance 0.100; OKLCH L 46.5% C 0.103 H 255.9°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#2F5A92
RGBrgb(47, 90, 146)
HSLhsl(214, 51%, 38%)
HSVhsv(214, 68%, 57%)
CMYKcmyk(67.8%, 38.4%, 0%, 42.7%)
CIE-LABlab(37.83, 4.15, -35.27)
CIE-LCHlch(37.83, 35.51, 276.71°)
OKLaboklab(46.49% -0.0253 -0.1002)
OKLCHoklch(46.49% 0.103 255.9)
XYZxyz(10.0149, 9.9910, 28.5892)
Luminance0.0999 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5A92 #92672F
analogous
#2F8B92 #2F5A92 #352F92
triadic
#2F5A92 #922F5A #5A922F
tetradic
#2F5A92 #922F8B #92672F #2F9235
square
#2F5A92 #922F8B #92672F #2F9235
split-complementary
#2F5A92 #92352F #8B922F
monochromatic
#112135 #203D64 #2F5A92 #3E77C0 #6C97D0

Accessibility & contrast

On white

7.00
#2F5A92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#2F5A92 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F5A92
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5A92#FFFFFF#000000##FFFFFF
##2F5A921.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415E94
Deuteranopia (green-blind)
#335591
Tritanopia (blue-blind)
#00676F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2f5a92;
/* rgb */ color: rgb(47, 90, 146);
/* oklch */ color: oklch(46.5% 0.103 255.9);
Tailwind
colors: {
  custom: {
    50: '#7388b2',
    500: '#2f5a92',
    950: '#000000',
  },
}
SCSS
$custom: #2f5a92;
$custom-light: #7388b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5a92",
  "rgb": {
    "r": 47,
    "g": 90,
    "b": 146
  },
  "hsl": {
    "h": 213.939,
    "s": 51.295,
    "l": 37.843
  },
  "oklch": {
    "l": 0.46492,
    "c": 0.10337,
    "h": 255.9
  },
  "luminance": 0.09992
}

Semantic roles & 50–950 ramp

primary
#2F5A92
secondary
#B79466
accent
#9D4DDB
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2F5A92

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

Preview Lab → · Contrast checker → · Palette generator →

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