#2F4BA0#2F4BA0

#2F4BA0 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.1% C 0.142 H 266.8°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#2F4BA0
RGBrgb(47, 75, 160)
HSLhsl(225, 55%, 41%)
HSVhsv(225, 71%, 63%)
CMYKcmyk(70.6%, 53.1%, 0%, 37.3%)
CIE-LABlab(34.34, 19.30, -49.29)
CIE-LCHlch(34.34, 52.93, 291.38°)
OKLaboklab(44.1% -0.008 -0.1417)
OKLCHoklch(44.1% 0.142 266.8)
XYZxyz(10.0313, 8.1735, 34.2999)
Luminance0.0818 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4BA0 #A0842F
analogous
#2F83A0 #2F4BA0 #4C2FA0
triadic
#2F4BA0 #A02F4B #4BA02F
tetradic
#2F4BA0 #A02F83 #A0842F #2FA04C
square
#2F4BA0 #A02F83 #A0842F #2FA04C
split-complementary
#2F4BA0 #A04C2F #83A02F
monochromatic
#131F41 #213571 #2F4BA0 #4465C8 #738CD6

Accessibility & contrast

On white

7.97
#2F4BA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#2F4BA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4BA0
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4BA0#FFFFFF#000000##FFFFFF
##2F4BA01.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1356A3
Deuteranopia (green-blind)
#004C9E
Tritanopia (blue-blind)
#005F6E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2f4ba0;
/* rgb */ color: rgb(47, 75, 160);
/* oklch */ color: oklch(44.1% 0.142 266.8);
Tailwind
colors: {
  custom: {
    50: '#767cbd',
    500: '#2f4ba0',
    950: '#000000',
  },
}
SCSS
$custom: #2f4ba0;
$custom-light: #767cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4ba0",
  "rgb": {
    "r": 47,
    "g": 75,
    "b": 160
  },
  "hsl": {
    "h": 225.133,
    "s": 54.589,
    "l": 40.588
  },
  "oklch": {
    "l": 0.441,
    "c": 0.14191,
    "h": 266.8
  },
  "luminance": 0.08175
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F4BA0

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

Preview Lab → · Contrast checker → · Palette generator →

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