#2F4CA2#2F4CA2

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

Color values

HEX#2F4CA2
RGBrgb(47, 76, 162)
HSLhsl(225, 55%, 41%)
HSVhsv(225, 71%, 64%)
CMYKcmyk(71%, 53.1%, 0%, 36.5%)
CIE-LABlab(34.76, 19.39, -49.81)
CIE-LCHlch(34.76, 53.45, 291.27°)
OKLaboklab(44.47% -0.0087 -0.1432)
OKLCHoklch(44.47% 0.143 266.5)
XYZxyz(10.2760, 8.3808, 35.2515)
Luminance0.0838 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4CA2 #A2852F
analogous
#2F85A2 #2F4CA2 #4C2FA2
triadic
#2F4CA2 #A22F4C #4CA22F
tetradic
#2F4CA2 #A22F85 #A2852F #2FA24C
square
#2F4CA2 #A22F85 #A2852F #2FA24C
split-complementary
#2F4CA2 #A24C2F #85A22F
monochromatic
#131F43 #213673 #2F4CA2 #4566C9 #758DD7

Accessibility & contrast

On white

7.85
#2F4CA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F4CA2
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4CA2#FFFFFF#000000##FFFFFF
##2F4CA21.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1357A5
Deuteranopia (green-blind)
#004DA0
Tritanopia (blue-blind)
#00616F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2f4ca2;
/* rgb */ color: rgb(47, 76, 162);
/* oklch */ color: oklch(44.5% 0.143 266.5);
Tailwind
colors: {
  custom: {
    50: '#767dbe',
    500: '#2f4ca2',
    950: '#000000',
  },
}
SCSS
$custom: #2f4ca2;
$custom-light: #767dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4ca2",
  "rgb": {
    "r": 47,
    "g": 76,
    "b": 162
  },
  "hsl": {
    "h": 224.87,
    "s": 55.024,
    "l": 40.98
  },
  "oklch": {
    "l": 0.44465,
    "c": 0.14346,
    "h": 266.5
  },
  "luminance": 0.08382
}

Semantic roles & 50–950 ramp

primary
#2F4CA2
secondary
#BFAA6E
accent
#B949DE
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #2F4CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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