#2F4DA0#2F4DA0

#2F4DA0 is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.5% C 0.139 H 266.0°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#2F4DA0
RGBrgb(47, 77, 160)
HSLhsl(224, 55%, 41%)
HSVhsv(224, 71%, 63%)
CMYKcmyk(70.6%, 51.9%, 0%, 37.3%)
CIE-LABlab(34.90, 17.96, -48.38)
CIE-LCHlch(34.90, 51.61, 290.37°)
OKLaboklab(44.52% -0.0098 -0.139)
OKLCHoklch(44.52% 0.139 266)
XYZxyz(10.1691, 8.4491, 34.3458)
Luminance0.0845 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4DA0 #A0822F
analogous
#2F85A0 #2F4DA0 #4A2FA0
triadic
#2F4DA0 #A02F4D #4DA02F
tetradic
#2F4DA0 #A02F85 #A0822F #2FA04A
square
#2F4DA0 #A02F85 #A0822F #2FA04A
split-complementary
#2F4DA0 #A04A2F #85A02F
monochromatic
#131F41 #213671 #2F4DA0 #4467C8 #738ED6

Accessibility & contrast

On white

7.81
#2F4DA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#2F4DA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4DA0
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4DA0#FFFFFF#000000##FFFFFF
##2F4DA01.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A58A3
Deuteranopia (green-blind)
#004D9E
Tritanopia (blue-blind)
#00616F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2f4da0;
/* rgb */ color: rgb(47, 77, 160);
/* oklch */ color: oklch(44.5% 0.139 266.0);
Tailwind
colors: {
  custom: {
    50: '#767ebd',
    500: '#2f4da0',
    950: '#000000',
  },
}
SCSS
$custom: #2f4da0;
$custom-light: #767ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4da0",
  "rgb": {
    "r": 47,
    "g": 77,
    "b": 160
  },
  "hsl": {
    "h": 224.071,
    "s": 54.589,
    "l": 40.588
  },
  "oklch": {
    "l": 0.44524,
    "c": 0.13934,
    "h": 266
  },
  "luminance": 0.0845
}

Semantic roles & 50–950 ramp

primary
#2F4DA0
secondary
#BEA86D
accent
#B74ADE
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2F4DA0

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

Preview Lab → · Contrast checker → · Palette generator →

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