#2F5E99#2F5E99

#2F5E99 is a mid, moderate cyan. Relative luminance 0.109; OKLCH L 47.9% C 0.109 H 255.3°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#2F5E99
RGBrgb(47, 94, 153)
HSLhsl(213, 53%, 39%)
HSVhsv(213, 69%, 60%)
CMYKcmyk(69.3%, 38.6%, 0%, 40%)
CIE-LABlab(39.43, 4.19, -36.94)
CIE-LCHlch(39.43, 37.17, 276.46°)
OKLaboklab(47.87% -0.0277 -0.1051)
OKLCHoklch(47.87% 0.109 255.3)
XYZxyz(10.9227, 10.9085, 31.6607)
Luminance0.1091 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5E99 #996A2F
analogous
#2F9399 #2F5E99 #352F99
triadic
#2F5E99 #992F5E #5E992F
tetradic
#2F5E99 #992F93 #996A2F #2F9935
square
#2F5E99 #992F93 #996A2F #2F9935
split-complementary
#2F5E99 #99352F #93992F
monochromatic
#12243B #21416A #2F5E99 #417BC5 #6F9CD3

Accessibility & contrast

On white

6.60
#2F5E99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#2F5E99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F5E99
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5E99#FFFFFF#000000##FFFFFF
##2F5E991.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43629B
Deuteranopia (green-blind)
#345898
Tritanopia (blue-blind)
#006C74
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2f5e99;
/* rgb */ color: rgb(47, 94, 153);
/* oklch */ color: oklch(47.9% 0.109 255.3);
Tailwind
colors: {
  custom: {
    50: '#748bb7',
    500: '#2f5e99',
    950: '#000000',
  },
}
SCSS
$custom: #2f5e99;
$custom-light: #748bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5e99",
  "rgb": {
    "r": 47,
    "g": 94,
    "b": 153
  },
  "hsl": {
    "h": 213.396,
    "s": 53,
    "l": 39.216
  },
  "oklch": {
    "l": 0.47867,
    "c": 0.10866,
    "h": 255.3
  },
  "luminance": 0.1091
}

Semantic roles & 50–950 ramp

primary
#2F5E99
secondary
#BA9669
accent
#9C4BDC
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2F5E99

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

Preview Lab → · Contrast checker → · Palette generator →

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