#2F4EA0#2F4EA0

#2F4EA0 is a dark, vivid blue. Relative luminance 0.086; OKLCH L 44.7% C 0.138 H 265.5°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#2F4EA0
RGBrgb(47, 78, 160)
HSLhsl(224, 55%, 41%)
HSVhsv(224, 71%, 63%)
CMYKcmyk(70.6%, 51.2%, 0%, 37.3%)
CIE-LABlab(35.18, 17.30, -47.93)
CIE-LCHlch(35.18, 50.96, 289.84°)
OKLaboklab(44.74% -0.0107 -0.1376)
OKLCHoklch(44.74% 0.138 265.5)
XYZxyz(10.2396, 8.5901, 34.3693)
Luminance0.0859 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4EA0 #A0812F
analogous
#2F86A0 #2F4EA0 #492FA0
triadic
#2F4EA0 #A02F4E #4EA02F
tetradic
#2F4EA0 #A02F86 #A0812F #2FA049
square
#2F4EA0 #A02F86 #A0812F #2FA049
split-complementary
#2F4EA0 #A0492F #86A02F
monochromatic
#132041 #213771 #2F4EA0 #4468C8 #738ED6

Accessibility & contrast

On white

7.73
#2F4EA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#2F4EA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4EA0
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4EA0#FFFFFF#000000##FFFFFF
##2F4EA01.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D58A3
Deuteranopia (green-blind)
#004E9E
Tritanopia (blue-blind)
#00616F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2f4ea0;
/* rgb */ color: rgb(47, 78, 160);
/* oklch */ color: oklch(44.7% 0.138 265.5);
Tailwind
colors: {
  custom: {
    50: '#767fbd',
    500: '#2f4ea0',
    950: '#000000',
  },
}
SCSS
$custom: #2f4ea0;
$custom-light: #767fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4ea0",
  "rgb": {
    "r": 47,
    "g": 78,
    "b": 160
  },
  "hsl": {
    "h": 223.54,
    "s": 54.589,
    "l": 40.588
  },
  "oklch": {
    "l": 0.44738,
    "c": 0.13805,
    "h": 265.5
  },
  "luminance": 0.08591
}

Semantic roles & 50–950 ramp

primary
#2F4EA0
secondary
#BEA86D
accent
#B54ADE
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2F4EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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