#2F5891#2F5891

#2F5891 is a mid, moderate cyan. Relative luminance 0.096; OKLCH L 46.0% C 0.104 H 257.0°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#2F5891
RGBrgb(47, 88, 145)
HSLhsl(215, 51%, 38%)
HSVhsv(215, 68%, 57%)
CMYKcmyk(67.6%, 39.3%, 0%, 43.1%)
CIE-LABlab(37.16, 5.07, -35.71)
CIE-LCHlch(37.16, 36.07, 278.08°)
OKLaboklab(45.96% -0.0234 -0.1016)
OKLCHoklch(45.96% 0.104 257)
XYZxyz(9.7710, 9.6272, 28.1259)
Luminance0.0963 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5891 #91682F
analogous
#2F8991 #2F5891 #372F91
triadic
#2F5891 #912F58 #58912F
tetradic
#2F5891 #912F89 #91682F #2F9137
square
#2F5891 #912F89 #91682F #2F9137
split-complementary
#2F5891 #91372F #89912F
monochromatic
#112035 #203C63 #2F5891 #3E74BF #6B95CF

Accessibility & contrast

On white

7.18
#2F5891 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#2F5891 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5891
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5891#FFFFFF#000000##FFFFFF
##2F58911.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5C93
Deuteranopia (green-blind)
#305390
Tritanopia (blue-blind)
#00656D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2f5891;
/* rgb */ color: rgb(47, 88, 145);
/* oklch */ color: oklch(46.0% 0.104 257.0);
Tailwind
colors: {
  custom: {
    50: '#7286b1',
    500: '#2f5891',
    950: '#000000',
  },
}
SCSS
$custom: #2f5891;
$custom-light: #7286b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5891",
  "rgb": {
    "r": 47,
    "g": 88,
    "b": 145
  },
  "hsl": {
    "h": 214.898,
    "s": 51.042,
    "l": 37.647
  },
  "oklch": {
    "l": 0.45959,
    "c": 0.10423,
    "h": 257
  },
  "luminance": 0.09628
}

Semantic roles & 50–950 ramp

primary
#2F5891
secondary
#B69465
accent
#9F4DDB
background
#F7F8FA
surface
#EDEFF5
border
#C8CACF
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2F5891

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

Preview Lab → · Contrast checker → · Palette generator →

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