#2F4A95#2F4A95

#2F4A95 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.1% C 0.127 H 266.3°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#2F4A95
RGBrgb(47, 74, 149)
HSLhsl(224, 52%, 38%)
HSVhsv(224, 68%, 58%)
CMYKcmyk(68.5%, 50.3%, 0%, 41.6%)
CIE-LABlab(33.29, 15.82, -44.34)
CIE-LCHlch(33.29, 47.07, 289.64°)
OKLaboklab(43.05% -0.0083 -0.1271)
OKLCHoklch(43.05% 0.127 266.3)
XYZxyz(9.0440, 7.6710, 29.4320)
Luminance0.0767 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4A95 #957A2F
analogous
#2F7D95 #2F4A95 #472F95
triadic
#2F4A95 #952F4A #4A952F
tetradic
#2F4A95 #952F7D #957A2F #2F9547
square
#2F4A95 #952F7D #957A2F #2F9547
split-complementary
#2F4A95 #95472F #7D952F
monochromatic
#121C38 #203366 #2F4A95 #3F62C2 #6D88D1

Accessibility & contrast

On white

8.29
#2F4A95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#2F4A95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4A95
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4A95#FFFFFF#000000##FFFFFF
##2F4A951.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215398
Deuteranopia (green-blind)
#034A93
Tritanopia (blue-blind)
#005C68
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2f4a95;
/* rgb */ color: rgb(47, 74, 149);
/* oklch */ color: oklch(43.1% 0.127 266.3);
Tailwind
colors: {
  custom: {
    50: '#747cb5',
    500: '#2f4a95',
    950: '#000000',
  },
}
SCSS
$custom: #2f4a95;
$custom-light: #747cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4a95",
  "rgb": {
    "r": 47,
    "g": 74,
    "b": 149
  },
  "hsl": {
    "h": 224.118,
    "s": 52.041,
    "l": 38.431
  },
  "oklch": {
    "l": 0.43054,
    "c": 0.1274,
    "h": 266.3
  },
  "luminance": 0.07672
}

Semantic roles & 50–950 ramp

primary
#2F4A95
secondary
#B8A367
accent
#B64CDB
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2F4A95

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

Preview Lab → · Contrast checker → · Palette generator →

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