#2F4BA3#2F4BA3

#2F4BA3 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.3% C 0.146 H 267.0°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#2F4BA3
RGBrgb(47, 75, 163)
HSLhsl(226, 55%, 41%)
HSVhsv(226, 71%, 64%)
CMYKcmyk(71.2%, 54%, 0%, 36.1%)
CIE-LABlab(34.56, 20.43, -50.74)
CIE-LCHlch(34.56, 54.70, 291.93°)
OKLaboklab(44.33% -0.0078 -0.1459)
OKLCHoklch(44.33% 0.146 267)
XYZxyz(10.2969, 8.2798, 35.6987)
Luminance0.0828 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4BA3 #A3872F
analogous
#2F85A3 #2F4BA3 #4D2FA3
triadic
#2F4BA3 #A32F4B #4BA32F
tetradic
#2F4BA3 #A32F85 #A3872F #2FA34D
square
#2F4BA3 #A32F85 #A3872F #2FA34D
split-complementary
#2F4BA3 #A34D2F #85A32F
monochromatic
#141F44 #213573 #2F4BA3 #4665CA #758DD7

Accessibility & contrast

On white

7.91
#2F4BA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#2F4BA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4BA3
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4BA3#FFFFFF#000000##FFFFFF
##2F4BA31.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B57A6
Deuteranopia (green-blind)
#004CA1
Tritanopia (blue-blind)
#00606F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2f4ba3;
/* rgb */ color: rgb(47, 75, 163);
/* oklch */ color: oklch(44.3% 0.146 267.0);
Tailwind
colors: {
  custom: {
    50: '#777cbf',
    500: '#2f4ba3',
    950: '#000000',
  },
}
SCSS
$custom: #2f4ba3;
$custom-light: #777cbf;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4ba3",
  "rgb": {
    "r": 47,
    "g": 75,
    "b": 163
  },
  "hsl": {
    "h": 225.517,
    "s": 55.238,
    "l": 41.176
  },
  "oklch": {
    "l": 0.44333,
    "c": 0.14616,
    "h": 267
  },
  "luminance": 0.08281
}

Semantic roles & 50–950 ramp

primary
#2F4BA3
secondary
#BFAC6F
accent
#BB49DF
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #2F4BA3

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

Preview Lab → · Contrast checker → · Palette generator →

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