#2F5A91#2F5A91

#2F5A91 is a mid, moderate cyan. Relative luminance 0.100; OKLCH L 46.4% C 0.102 H 255.5°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#2F5A91
RGBrgb(47, 90, 145)
HSLhsl(214, 51%, 38%)
HSVhsv(214, 68%, 57%)
CMYKcmyk(67.6%, 37.9%, 0%, 43.1%)
CIE-LABlab(37.77, 3.78, -34.75)
CIE-LCHlch(37.77, 34.95, 276.21°)
OKLaboklab(46.43% -0.0255 -0.0987)
OKLCHoklch(46.43% 0.102 255.5)
XYZxyz(9.9374, 9.9600, 28.1813)
Luminance0.0996 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5A91 #91662F
analogous
#2F8B91 #2F5A91 #352F91
triadic
#2F5A91 #912F5A #5A912F
tetradic
#2F5A91 #912F8B #91662F #2F9135
square
#2F5A91 #912F8B #91662F #2F9135
split-complementary
#2F5A91 #91352F #8B912F
monochromatic
#112135 #203D63 #2F5A91 #3E77BF #6B97CF

Accessibility & contrast

On white

7.02
#2F5A91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#2F5A91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5A91
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5A91#FFFFFF#000000##FFFFFF
##2F5A911.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425E93
Deuteranopia (green-blind)
#345590
Tritanopia (blue-blind)
#00676E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2f5a91;
/* rgb */ color: rgb(47, 90, 145);
/* oklch */ color: oklch(46.4% 0.102 255.5);
Tailwind
colors: {
  custom: {
    50: '#7288b1',
    500: '#2f5a91',
    950: '#000000',
  },
}
SCSS
$custom: #2f5a91;
$custom-light: #7288b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5a91",
  "rgb": {
    "r": 47,
    "g": 90,
    "b": 145
  },
  "hsl": {
    "h": 213.673,
    "s": 51.042,
    "l": 37.647
  },
  "oklch": {
    "l": 0.46431,
    "c": 0.10197,
    "h": 255.5
  },
  "luminance": 0.09961
}

Semantic roles & 50–950 ramp

primary
#2F5A91
secondary
#B69365
accent
#9D4DDB
background
#F7F8FA
surface
#EDEFF5
border
#C8CACF
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2F5A91

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

Preview Lab → · Contrast checker → · Palette generator →

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