#2F5E9B#2F5E9B

#2F5E9B is a mid, moderate cyan. Relative luminance 0.110; OKLCH L 48.0% C 0.111 H 255.9°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#2F5E9B
RGBrgb(47, 94, 155)
HSLhsl(214, 53%, 40%)
HSVhsv(214, 70%, 61%)
CMYKcmyk(69.7%, 39.4%, 0%, 39.2%)
CIE-LABlab(39.54, 4.93, -37.96)
CIE-LCHlch(39.54, 38.28, 277.40°)
OKLaboklab(47.99% -0.0272 -0.1081)
OKLCHoklch(47.99% 0.111 255.9)
XYZxyz(11.0892, 10.9752, 32.5380)
Luminance0.1098 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5E9B #9B6C2F
analogous
#2F949B #2F5E9B #362F9B
triadic
#2F5E9B #9B2F5E #5E9B2F
tetradic
#2F5E9B #9B2F94 #9B6C2F #2F9B36
square
#2F5E9B #9B2F94 #9B6C2F #2F9B36
split-complementary
#2F5E9B #9B362F #949B2F
monochromatic
#13253D #21426C #2F5E9B #427BC6 #719CD4

Accessibility & contrast

On white

6.57
#2F5E9B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#2F5E9B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F5E9B
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5E9B#FFFFFF#000000##FFFFFF
##2F5E9B1.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42639D
Deuteranopia (green-blind)
#32599A
Tritanopia (blue-blind)
#006C75
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2f5e9b;
/* rgb */ color: rgb(47, 94, 155);
/* oklch */ color: oklch(48.0% 0.111 255.9);
Tailwind
colors: {
  custom: {
    50: '#748bb9',
    500: '#2f5e9b',
    950: '#000000',
  },
}
SCSS
$custom: #2f5e9b;
$custom-light: #748bb9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5e9b",
  "rgb": {
    "r": 47,
    "g": 94,
    "b": 155
  },
  "hsl": {
    "h": 213.889,
    "s": 53.465,
    "l": 39.608
  },
  "oklch": {
    "l": 0.47991,
    "c": 0.11143,
    "h": 255.9
  },
  "luminance": 0.10976
}

Semantic roles & 50–950 ramp

primary
#2F5E9B
secondary
#BB986A
accent
#9D4BDD
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2F5E9B

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

Preview Lab → · Contrast checker → · Palette generator →

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