#2F4AA0#2F4AA0

#2F4AA0 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.9% C 0.143 H 267.1°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#2F4AA0
RGBrgb(47, 74, 160)
HSLhsl(226, 55%, 41%)
HSVhsv(226, 71%, 63%)
CMYKcmyk(70.6%, 53.7%, 0%, 37.3%)
CIE-LABlab(34.06, 19.97, -49.74)
CIE-LCHlch(34.06, 53.60, 291.87°)
OKLaboklab(43.89% -0.0071 -0.143)
OKLCHoklch(43.89% 0.143 267.1)
XYZxyz(9.9640, 8.0390, 34.2775)
Luminance0.0804 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4AA0 #A0852F
analogous
#2F82A0 #2F4AA0 #4D2FA0
triadic
#2F4AA0 #A02F4A #4AA02F
tetradic
#2F4AA0 #A02F82 #A0852F #2FA04D
square
#2F4AA0 #A02F82 #A0852F #2FA04D
split-complementary
#2F4AA0 #A04D2F #82A02F
monochromatic
#131E41 #213471 #2F4AA0 #4464C8 #738BD6

Accessibility & contrast

On white

8.05
#2F4AA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#2F4AA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4AA0
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4AA0#FFFFFF#000000##FFFFFF
##2F4AA01.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E56A3
Deuteranopia (green-blind)
#004B9E
Tritanopia (blue-blind)
#005F6D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2f4aa0;
/* rgb */ color: rgb(47, 74, 160);
/* oklch */ color: oklch(43.9% 0.143 267.1);
Tailwind
colors: {
  custom: {
    50: '#767cbd',
    500: '#2f4aa0',
    950: '#000000',
  },
}
SCSS
$custom: #2f4aa0;
$custom-light: #767cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4aa0",
  "rgb": {
    "r": 47,
    "g": 74,
    "b": 160
  },
  "hsl": {
    "h": 225.664,
    "s": 54.589,
    "l": 40.588
  },
  "oklch": {
    "l": 0.4389,
    "c": 0.1432,
    "h": 267.1
  },
  "luminance": 0.0804
}

Semantic roles & 50–950 ramp

primary
#2F4AA0
secondary
#BEAA6D
accent
#BB4ADE
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #2F4AA0

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

Preview Lab → · Contrast checker → · Palette generator →

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