#2F4496#2F4496

#2F4496 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.9% C 0.137 H 268.9°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#2F4496
RGBrgb(47, 68, 150)
HSLhsl(228, 52%, 39%)
HSVhsv(228, 69%, 59%)
CMYKcmyk(68.7%, 54.7%, 0%, 41.2%)
CIE-LABlab(31.67, 20.23, -47.56)
CIE-LCHlch(31.67, 51.68, 293.04°)
OKLaboklab(41.85% -0.0025 -0.1367)
OKLCHoklch(41.85% 0.137 268.9)
XYZxyz(8.7425, 6.9398, 29.7270)
Luminance0.0694 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4496 #96812F
analogous
#2F7796 #2F4496 #4D2F96
triadic
#2F4496 #962F44 #44962F
tetradic
#2F4496 #962F77 #96812F #2F964D
square
#2F4496 #962F77 #96812F #2F964D
split-complementary
#2F4496 #964D2F #77962F
monochromatic
#121A39 #202F67 #2F4496 #3F5AC3 #6E82D2

Accessibility & contrast

On white

8.79
#2F4496 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#2F4496 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4496
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4496#FFFFFF#000000##FFFFFF
##2F44961.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#094F99
Deuteranopia (green-blind)
#004694
Tritanopia (blue-blind)
#005866
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2f4496;
/* rgb */ color: rgb(47, 68, 150);
/* oklch */ color: oklch(41.9% 0.137 268.9);
Tailwind
colors: {
  custom: {
    50: '#7477b5',
    500: '#2f4496',
    950: '#000000',
  },
}
SCSS
$custom: #2f4496;
$custom-light: #7477b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4496",
  "rgb": {
    "r": 47,
    "g": 68,
    "b": 150
  },
  "hsl": {
    "h": 227.767,
    "s": 52.284,
    "l": 38.627
  },
  "oklch": {
    "l": 0.4185,
    "c": 0.13672,
    "h": 268.9
  },
  "luminance": 0.06941
}

Semantic roles & 50–950 ramp

primary
#2F4496
secondary
#B9A868
accent
#BE4CDC
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2F4496

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

Preview Lab → · Contrast checker → · Palette generator →

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