#2F5D90#2F5D90

#2F5D90 is a mid, moderate cyan. Relative luminance 0.104; OKLCH L 47.1% C 0.097 H 252.7°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#2F5D90
RGBrgb(47, 93, 144)
HSLhsl(212, 51%, 37%)
HSVhsv(212, 67%, 56%)
CMYKcmyk(67.4%, 35.4%, 0%, 43.5%)
CIE-LABlab(38.63, 1.50, -32.78)
CIE-LCHlch(38.63, 32.82, 272.61°)
OKLaboklab(47.09% -0.029 -0.0929)
OKLCHoklch(47.09% 0.097 252.7)
XYZxyz(10.1188, 10.4456, 27.8631)
Luminance0.1045 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5D90 #90622F
analogous
#2F8E90 #2F5D90 #312F90
triadic
#2F5D90 #902F5D #5D902F
tetradic
#2F5D90 #902F8E #90622F #2F9031
square
#2F5D90 #902F8E #90622F #2F9031
split-complementary
#2F5D90 #90312F #8E902F
monochromatic
#112134 #203F62 #2F5D90 #3E7BBE #6B9ACF

Accessibility & contrast

On white

6.80
#2F5D90 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#2F5D90 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F5D90
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5D90#FFFFFF#000000##FFFFFF
##2F5D901.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#476092
Deuteranopia (green-blind)
#39578F
Tritanopia (blue-blind)
#006970
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2f5d90;
/* rgb */ color: rgb(47, 93, 144);
/* oklch */ color: oklch(47.1% 0.097 252.7);
Tailwind
colors: {
  custom: {
    50: '#728ab1',
    500: '#2f5d90',
    950: '#000000',
  },
}
SCSS
$custom: #2f5d90;
$custom-light: #728ab1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5d90",
  "rgb": {
    "r": 47,
    "g": 93,
    "b": 144
  },
  "hsl": {
    "h": 211.546,
    "s": 50.785,
    "l": 37.451
  },
  "oklch": {
    "l": 0.47085,
    "c": 0.09737,
    "h": 252.7
  },
  "luminance": 0.10447
}

Semantic roles & 50–950 ramp

primary
#2F5D90
secondary
#B68F65
accent
#984EDA
background
#F7F8FA
surface
#EDF0F5
border
#C8CBCF
text
#090B10
muted
#7B7C7F

Preview Lab

Preview with #2F5D90

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

Preview Lab → · Contrast checker → · Palette generator →

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