#2F4DA3#2F4DA3

#2F4DA3 is a dark, vivid blue. Relative luminance 0.086; OKLCH L 44.8% C 0.144 H 266.2°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#2F4DA3
RGBrgb(47, 77, 163)
HSLhsl(224, 55%, 41%)
HSVhsv(224, 71%, 64%)
CMYKcmyk(71.2%, 52.8%, 0%, 36.1%)
CIE-LABlab(35.11, 19.10, -49.84)
CIE-LCHlch(35.11, 53.37, 290.96°)
OKLaboklab(44.75% -0.0095 -0.1433)
OKLCHoklch(44.75% 0.144 266.2)
XYZxyz(10.4347, 8.5554, 35.7447)
Luminance0.0856 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4DA3 #A3852F
analogous
#2F87A3 #2F4DA3 #4B2FA3
triadic
#2F4DA3 #A32F4D #4DA32F
tetradic
#2F4DA3 #A32F87 #A3852F #2FA34B
square
#2F4DA3 #A32F87 #A3852F #2FA34B
split-complementary
#2F4DA3 #A34B2F #87A32F
monochromatic
#142044 #213773 #2F4DA3 #4668CA #758FD7

Accessibility & contrast

On white

7.75
#2F4DA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#2F4DA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4DA3
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4DA3#FFFFFF#000000##FFFFFF
##2F4DA31.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1558A6
Deuteranopia (green-blind)
#004EA1
Tritanopia (blue-blind)
#006270
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2f4da3;
/* rgb */ color: rgb(47, 77, 163);
/* oklch */ color: oklch(44.8% 0.144 266.2);
Tailwind
colors: {
  custom: {
    50: '#767ebf',
    500: '#2f4da3',
    950: '#000000',
  },
}
SCSS
$custom: #2f4da3;
$custom-light: #767ebf;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4da3",
  "rgb": {
    "r": 47,
    "g": 77,
    "b": 163
  },
  "hsl": {
    "h": 224.483,
    "s": 55.238,
    "l": 41.176
  },
  "oklch": {
    "l": 0.44753,
    "c": 0.1436,
    "h": 266.2
  },
  "luminance": 0.08556
}

Semantic roles & 50–950 ramp

primary
#2F4DA3
secondary
#BFAA6F
accent
#B849DF
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #2F4DA3

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

Preview Lab → · Contrast checker → · Palette generator →

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