#2F4696#2F4696

#2F4696 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.3% C 0.134 H 268.1°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#2F4696
RGBrgb(47, 70, 150)
HSLhsl(227, 52%, 39%)
HSVhsv(227, 69%, 59%)
CMYKcmyk(68.7%, 53.3%, 0%, 41.2%)
CIE-LABlab(32.23, 18.89, -46.66)
CIE-LCHlch(32.23, 50.33, 292.04°)
OKLaboklab(42.27% -0.0044 -0.134)
OKLCHoklch(42.27% 0.134 268.1)
XYZxyz(8.8656, 7.1858, 29.7680)
Luminance0.0719 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4696 #967F2F
analogous
#2F7996 #2F4696 #4B2F96
triadic
#2F4696 #962F46 #46962F
tetradic
#2F4696 #962F79 #967F2F #2F964B
square
#2F4696 #962F79 #967F2F #2F964B
split-complementary
#2F4696 #964B2F #79962F
monochromatic
#121B39 #203067 #2F4696 #3F5DC3 #6E84D2

Accessibility & contrast

On white

8.62
#2F4696 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#2F4696 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4696
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4696#FFFFFF#000000##FFFFFF
##2F46961.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#135199
Deuteranopia (green-blind)
#004794
Tritanopia (blue-blind)
#005967
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2f4696;
/* rgb */ color: rgb(47, 70, 150);
/* oklch */ color: oklch(42.3% 0.134 268.1);
Tailwind
colors: {
  custom: {
    50: '#7479b5',
    500: '#2f4696',
    950: '#000000',
  },
}
SCSS
$custom: #2f4696;
$custom-light: #7479b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4696",
  "rgb": {
    "r": 47,
    "g": 70,
    "b": 150
  },
  "hsl": {
    "h": 226.602,
    "s": 52.284,
    "l": 38.627
  },
  "oklch": {
    "l": 0.42271,
    "c": 0.13409,
    "h": 268.1
  },
  "luminance": 0.07187
}

Semantic roles & 50–950 ramp

primary
#2F4696
secondary
#B9A768
accent
#BC4CDC
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2F4696

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

Preview Lab → · Contrast checker → · Palette generator →

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