#2F5C91#2F5C91

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

Color values

HEX#2F5C91
RGBrgb(47, 92, 145)
HSLhsl(212, 51%, 38%)
HSVhsv(212, 68%, 57%)
CMYKcmyk(67.6%, 36.6%, 0%, 43.1%)
CIE-LABlab(38.38, 2.50, -33.79)
CIE-LCHlch(38.38, 33.88, 274.23°)
OKLaboklab(46.91% -0.0277 -0.0959)
OKLCHoklch(46.91% 0.1 253.9)
XYZxyz(10.1084, 10.3020, 28.2383)
Luminance0.1030 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5C91 #91642F
analogous
#2F8D91 #2F5C91 #332F91
triadic
#2F5C91 #912F5C #5C912F
tetradic
#2F5C91 #912F8D #91642F #2F9133
square
#2F5C91 #912F8D #91642F #2F9133
split-complementary
#2F5C91 #91332F #8D912F
monochromatic
#112135 #203F63 #2F5C91 #3E79BF #6B99CF

Accessibility & contrast

On white

6.86
#2F5C91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2F5C91
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5C91#FFFFFF#000000##FFFFFF
##2F5C911.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455F93
Deuteranopia (green-blind)
#375690
Tritanopia (blue-blind)
#00686F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2f5c91;
/* rgb */ color: rgb(47, 92, 145);
/* oklch */ color: oklch(46.9% 0.100 253.9);
Tailwind
colors: {
  custom: {
    50: '#7289b1',
    500: '#2f5c91',
    950: '#000000',
  },
}
SCSS
$custom: #2f5c91;
$custom-light: #7289b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5c91",
  "rgb": {
    "r": 47,
    "g": 92,
    "b": 145
  },
  "hsl": {
    "h": 212.449,
    "s": 51.042,
    "l": 37.647
  },
  "oklch": {
    "l": 0.46906,
    "c": 0.0998,
    "h": 253.9
  },
  "luminance": 0.10303
}

Semantic roles & 50–950 ramp

primary
#2F5C91
secondary
#B69165
accent
#9A4DDB
background
#F7F8FA
surface
#EDF0F5
border
#C8CBCF
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2F5C91

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

Preview Lab → · Contrast checker → · Palette generator →

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