#2F5E9D#2F5E9D

#2F5E9D is a mid, moderate cyan. Relative luminance 0.110; OKLCH L 48.1% C 0.114 H 256.5°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#2F5E9D
RGBrgb(47, 94, 157)
HSLhsl(214, 54%, 40%)
HSVhsv(214, 70%, 62%)
CMYKcmyk(70.1%, 40.1%, 0%, 38.4%)
CIE-LABlab(39.65, 5.67, -38.97)
CIE-LCHlch(39.65, 39.38, 278.29°)
OKLaboklab(48.12% -0.0267 -0.111)
OKLCHoklch(48.12% 0.114 256.5)
XYZxyz(11.2586, 11.0429, 33.4299)
Luminance0.1104 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5E9D #9D6E2F
analogous
#2F959D #2F5E9D #372F9D
triadic
#2F5E9D #9D2F5E #5E9D2F
tetradic
#2F5E9D #9D2F95 #9D6E2F #2F9D37
square
#2F5E9D #9D2F95 #9D6E2F #2F9D37
split-complementary
#2F5E9D #9D372F #959D2F
monochromatic
#13263F #21426E #2F5E9D #437BC7 #729CD5

Accessibility & contrast

On white

6.54
#2F5E9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#2F5E9D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F5E9D
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5E9D#FFFFFF#000000##FFFFFF
##2F5E9D1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4163A0
Deuteranopia (green-blind)
#30599C
Tritanopia (blue-blind)
#006D76
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2f5e9d;
/* rgb */ color: rgb(47, 94, 157);
/* oklch */ color: oklch(48.1% 0.114 256.5);
Tailwind
colors: {
  custom: {
    50: '#758bba',
    500: '#2f5e9d',
    950: '#000000',
  },
}
SCSS
$custom: #2f5e9d;
$custom-light: #758bba;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5e9d",
  "rgb": {
    "r": 47,
    "g": 94,
    "b": 157
  },
  "hsl": {
    "h": 214.364,
    "s": 53.922,
    "l": 40
  },
  "oklch": {
    "l": 0.48117,
    "c": 0.1142,
    "h": 256.5
  },
  "luminance": 0.11044
}

Semantic roles & 50–950 ramp

primary
#2F5E9D
secondary
#BC9A6B
accent
#9F4BDD
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2F5E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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