#2F4CA3#2F4CA3

#2F4CA3 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.5% C 0.145 H 266.6°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#2F4CA3
RGBrgb(47, 76, 163)
HSLhsl(225, 55%, 41%)
HSVhsv(225, 71%, 64%)
CMYKcmyk(71.2%, 53.4%, 0%, 36.1%)
CIE-LABlab(34.84, 19.76, -50.29)
CIE-LCHlch(34.84, 54.03, 291.45°)
OKLaboklab(44.54% -0.0086 -0.1446)
OKLCHoklch(44.54% 0.145 266.6)
XYZxyz(10.3653, 8.4165, 35.7215)
Luminance0.0842 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4CA3 #A3862F
analogous
#2F86A3 #2F4CA3 #4C2FA3
triadic
#2F4CA3 #A32F4C #4CA32F
tetradic
#2F4CA3 #A32F86 #A3862F #2FA34C
square
#2F4CA3 #A32F86 #A3862F #2FA34C
split-complementary
#2F4CA3 #A34C2F #86A32F
monochromatic
#142044 #213673 #2F4CA3 #4667CA #758ED7

Accessibility & contrast

On white

7.83
#2F4CA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#2F4CA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4CA3
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4CA3#FFFFFF#000000##FFFFFF
##2F4CA31.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1057A6
Deuteranopia (green-blind)
#004DA1
Tritanopia (blue-blind)
#006170
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2f4ca3;
/* rgb */ color: rgb(47, 76, 163);
/* oklch */ color: oklch(44.5% 0.145 266.6);
Tailwind
colors: {
  custom: {
    50: '#767dbf',
    500: '#2f4ca3',
    950: '#000000',
  },
}
SCSS
$custom: #2f4ca3;
$custom-light: #767dbf;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4ca3",
  "rgb": {
    "r": 47,
    "g": 76,
    "b": 163
  },
  "hsl": {
    "h": 225,
    "s": 55.238,
    "l": 41.176
  },
  "oklch": {
    "l": 0.44543,
    "c": 0.14488,
    "h": 266.6
  },
  "luminance": 0.08418
}

Semantic roles & 50–950 ramp

primary
#2F4CA3
secondary
#BFAB6F
accent
#B949DF
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #2F4CA3

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

Preview Lab → · Contrast checker → · Palette generator →

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