#2F5E9A#2F5E9A

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

Color values

HEX#2F5E9A
RGBrgb(47, 94, 154)
HSLhsl(214, 53%, 39%)
HSVhsv(214, 69%, 60%)
CMYKcmyk(69.5%, 39%, 0%, 39.6%)
CIE-LABlab(39.48, 4.56, -37.45)
CIE-LCHlch(39.48, 37.72, 276.94°)
OKLaboklab(47.93% -0.0274 -0.1066)
OKLCHoklch(47.93% 0.11 255.6)
XYZxyz(11.0056, 10.9417, 32.0975)
Luminance0.1094 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5E9A #9A6B2F
analogous
#2F949A #2F5E9A #362F9A
triadic
#2F5E9A #9A2F5E #5E9A2F
tetradic
#2F5E9A #9A2F94 #9A6B2F #2F9A36
square
#2F5E9A #9A2F94 #9A6B2F #2F9A36
split-complementary
#2F5E9A #9A362F #949A2F
monochromatic
#12253C #21416B #2F5E9A #417BC5 #709CD3

Accessibility & contrast

On white

6.59
#2F5E9A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#2F5E9A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F5E9A
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5E9A#FFFFFF#000000##FFFFFF
##2F5E9A1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f5e9a;
/* rgb */ color: rgb(47, 94, 154);
/* oklch */ color: oklch(47.9% 0.110 255.6);
Tailwind
colors: {
  custom: {
    50: '#748bb8',
    500: '#2f5e9a',
    950: '#000000',
  },
}
SCSS
$custom: #2f5e9a;
$custom-light: #748bb8;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5e9a",
  "rgb": {
    "r": 47,
    "g": 94,
    "b": 154
  },
  "hsl": {
    "h": 213.645,
    "s": 53.234,
    "l": 39.412
  },
  "oklch": {
    "l": 0.47929,
    "c": 0.11005,
    "h": 255.6
  },
  "luminance": 0.10943
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F5E9A

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

Preview Lab → · Contrast checker → · Palette generator →

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