#2F4AA2#2F4AA2

#2F4AA2 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.0% C 0.146 H 267.3°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#2F4AA2
RGBrgb(47, 74, 162)
HSLhsl(226, 55%, 41%)
HSVhsv(226, 71%, 64%)
CMYKcmyk(71%, 54.3%, 0%, 36.5%)
CIE-LABlab(34.21, 20.72, -50.70)
CIE-LCHlch(34.21, 54.77, 292.23°)
OKLaboklab(44.05% -0.007 -0.1459)
OKLCHoklch(44.05% 0.146 267.3)
XYZxyz(10.1404, 8.1095, 35.2063)
Luminance0.0811 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4AA2 #A2872F
analogous
#2F83A2 #2F4AA2 #4D2FA2
triadic
#2F4AA2 #A22F4A #4AA22F
tetradic
#2F4AA2 #A22F83 #A2872F #2FA24D
square
#2F4AA2 #A22F83 #A2872F #2FA24D
split-complementary
#2F4AA2 #A24D2F #83A22F
monochromatic
#131F43 #213473 #2F4AA2 #4564C9 #758CD7

Accessibility & contrast

On white

8.01
#2F4AA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#2F4AA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4AA2
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4AA2#FFFFFF#000000##FFFFFF
##2F4AA21.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0856A5
Deuteranopia (green-blind)
#004BA0
Tritanopia (blue-blind)
#005F6E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2f4aa2;
/* rgb */ color: rgb(47, 74, 162);
/* oklch */ color: oklch(44.0% 0.146 267.3);
Tailwind
colors: {
  custom: {
    50: '#767cbe',
    500: '#2f4aa2',
    950: '#000000',
  },
}
SCSS
$custom: #2f4aa2;
$custom-light: #767cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4aa2",
  "rgb": {
    "r": 47,
    "g": 74,
    "b": 162
  },
  "hsl": {
    "h": 225.913,
    "s": 55.024,
    "l": 40.98
  },
  "oklch": {
    "l": 0.44047,
    "c": 0.14603,
    "h": 267.3
  },
  "luminance": 0.08111
}

Semantic roles & 50–950 ramp

primary
#2F4AA2
secondary
#BFAC6E
accent
#BB49DE
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #2F4AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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