#2F5D99#2F5D99

#2F5D99 is a mid, moderate cyan. Relative luminance 0.107; OKLCH L 47.6% C 0.110 H 256.0°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#2F5D99
RGBrgb(47, 93, 153)
HSLhsl(214, 53%, 39%)
HSVhsv(214, 69%, 60%)
CMYKcmyk(69.3%, 39.2%, 0%, 40%)
CIE-LABlab(39.13, 4.82, -37.42)
CIE-LCHlch(39.13, 37.73, 277.35°)
OKLaboklab(47.63% -0.0266 -0.1065)
OKLCHoklch(47.63% 0.11 256)
XYZxyz(10.8343, 10.7318, 31.6313)
Luminance0.1073 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5D99 #996B2F
analogous
#2F9299 #2F5D99 #362F99
triadic
#2F5D99 #992F5D #5D992F
tetradic
#2F5D99 #992F92 #996B2F #2F9936
square
#2F5D99 #992F92 #996B2F #2F9936
split-complementary
#2F5D99 #99362F #92992F
monochromatic
#12243B #21416A #2F5D99 #417AC5 #6F9BD3

Accessibility & contrast

On white

6.67
#2F5D99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#2F5D99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F5D99
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5D99#FFFFFF#000000##FFFFFF
##2F5D991.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42629B
Deuteranopia (green-blind)
#325898
Tritanopia (blue-blind)
#006B73
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2f5d99;
/* rgb */ color: rgb(47, 93, 153);
/* oklch */ color: oklch(47.6% 0.110 256.0);
Tailwind
colors: {
  custom: {
    50: '#748ab7',
    500: '#2f5d99',
    950: '#000000',
  },
}
SCSS
$custom: #2f5d99;
$custom-light: #748ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5d99",
  "rgb": {
    "r": 47,
    "g": 93,
    "b": 153
  },
  "hsl": {
    "h": 213.962,
    "s": 53,
    "l": 39.216
  },
  "oklch": {
    "l": 0.47632,
    "c": 0.10978,
    "h": 256
  },
  "luminance": 0.10733
}

Semantic roles & 50–950 ramp

primary
#2F5D99
secondary
#BA9769
accent
#9D4BDC
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2F5D99

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

Preview Lab → · Contrast checker → · Palette generator →

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