#2F4EA3#2F4EA3

#2F4EA3 is a dark, vivid blue. Relative luminance 0.087; OKLCH L 45.0% C 0.142 H 265.8°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#2F4EA3
RGBrgb(47, 78, 163)
HSLhsl(224, 55%, 41%)
HSVhsv(224, 71%, 64%)
CMYKcmyk(71.2%, 52.1%, 0%, 36.1%)
CIE-LABlab(35.39, 18.43, -49.39)
CIE-LCHlch(35.39, 52.72, 290.46°)
OKLaboklab(44.97% -0.0104 -0.1419)
OKLCHoklch(44.97% 0.142 265.8)
XYZxyz(10.5052, 8.6964, 35.7682)
Luminance0.0870 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4EA3 #A3842F
analogous
#2F88A3 #2F4EA3 #4A2FA3
triadic
#2F4EA3 #A32F4E #4EA32F
tetradic
#2F4EA3 #A32F88 #A3842F #2FA34A
square
#2F4EA3 #A32F88 #A3842F #2FA34A
split-complementary
#2F4EA3 #A34A2F #88A32F
monochromatic
#142144 #213773 #2F4EA3 #4669CA #758FD7

Accessibility & contrast

On white

7.67
#2F4EA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#2F4EA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4EA3
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4EA3#FFFFFF#000000##FFFFFF
##2F4EA31.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f4ea3;
/* rgb */ color: rgb(47, 78, 163);
/* oklch */ color: oklch(45.0% 0.142 265.8);
Tailwind
colors: {
  custom: {
    50: '#767fbf',
    500: '#2f4ea3',
    950: '#000000',
  },
}
SCSS
$custom: #2f4ea3;
$custom-light: #767fbf;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4ea3",
  "rgb": {
    "r": 47,
    "g": 78,
    "b": 163
  },
  "hsl": {
    "h": 223.966,
    "s": 55.238,
    "l": 41.176
  },
  "oklch": {
    "l": 0.44965,
    "c": 0.14231,
    "h": 265.8
  },
  "luminance": 0.08697
}

Semantic roles & 50–950 ramp

primary
#2F4EA3
secondary
#BFAA6F
accent
#B749DF
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #2F4EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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