#2F5F90#2F5F90

#2F5F90 is a mid, moderate cyan. Relative luminance 0.108; OKLCH L 47.6% C 0.095 H 250.9°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#2F5F90
RGBrgb(47, 95, 144)
HSLhsl(210, 51%, 37%)
HSVhsv(210, 67%, 56%)
CMYKcmyk(67.4%, 34%, 0%, 43.5%)
CIE-LABlab(39.24, 0.23, -31.82)
CIE-LCHlch(39.24, 31.82, 270.42°)
OKLaboklab(47.57% -0.0312 -0.0901)
OKLCHoklch(47.57% 0.095 250.9)
XYZxyz(10.2967, 10.8013, 27.9224)
Luminance0.1080 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5F90 #90602F
analogous
#2F9090 #2F5F90 #2F2F90
triadic
#2F5F90 #902F5F #5F902F
tetradic
#2F5F90 #902F90 #90602F #2F902F
square
#2F5F90 #902F90 #90602F #2F902F
split-complementary
#2F5F90 #902F2F #90902F
monochromatic
#112234 #204162 #2F5F90 #3E7DBE #6B9CCF

Accessibility & contrast

On white

6.64
#2F5F90 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#2F5F90 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F5F90
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5F90#FFFFFF#000000##FFFFFF
##2F5F901.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A6292
Deuteranopia (green-blind)
#3C588F
Tritanopia (blue-blind)
#006A71
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2f5f90;
/* rgb */ color: rgb(47, 95, 144);
/* oklch */ color: oklch(47.6% 0.095 250.9);
Tailwind
colors: {
  custom: {
    50: '#728cb1',
    500: '#2f5f90',
    950: '#000000',
  },
}
SCSS
$custom: #2f5f90;
$custom-light: #728cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5f90",
  "rgb": {
    "r": 47,
    "g": 95,
    "b": 144
  },
  "hsl": {
    "h": 210.309,
    "s": 50.785,
    "l": 37.451
  },
  "oklch": {
    "l": 0.47565,
    "c": 0.09534,
    "h": 250.9
  },
  "luminance": 0.10802
}

Semantic roles & 50–950 ramp

primary
#2F5F90
secondary
#B68E65
accent
#954EDA
background
#F7F8FA
surface
#EDF0F5
border
#C8CBCF
text
#090C10
muted
#7B7D7F

Preview Lab

Preview with #2F5F90

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

Preview Lab → · Contrast checker → · Palette generator →

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