#2F4196#2F4196

#2F4196 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.2% C 0.141 H 270.1°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#2F4196
RGBrgb(47, 65, 150)
HSLhsl(230, 52%, 39%)
HSVhsv(230, 69%, 59%)
CMYKcmyk(68.7%, 56.7%, 0%, 41.2%)
CIE-LABlab(30.85, 22.25, -48.89)
CIE-LCHlch(30.85, 53.72, 294.47°)
OKLaboklab(41.23% 0.0002 -0.1407)
OKLCHoklch(41.23% 0.141 270.1)
XYZxyz(8.5657, 6.5861, 29.6681)
Luminance0.0659 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4196 #96842F
analogous
#2F7496 #2F4196 #502F96
triadic
#2F4196 #962F41 #41962F
tetradic
#2F4196 #962F74 #96842F #2F9650
square
#2F4196 #962F74 #96842F #2F9650
split-complementary
#2F4196 #96502F #74962F
monochromatic
#121939 #202D67 #2F4196 #3F56C3 #6E7FD2

Accessibility & contrast

On white

9.06
#2F4196 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#2F4196 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4196
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4196#FFFFFF#000000##FFFFFF
##2F41961.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D99
Deuteranopia (green-blind)
#004494
Tritanopia (blue-blind)
#005665
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2f4196;
/* rgb */ color: rgb(47, 65, 150);
/* oklch */ color: oklch(41.2% 0.141 270.1);
Tailwind
colors: {
  custom: {
    50: '#7475b6',
    500: '#2f4196',
    950: '#000000',
  },
}
SCSS
$custom: #2f4196;
$custom-light: #7475b6;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4196",
  "rgb": {
    "r": 47,
    "g": 65,
    "b": 150
  },
  "hsl": {
    "h": 229.515,
    "s": 52.284,
    "l": 38.627
  },
  "oklch": {
    "l": 0.41231,
    "c": 0.14067,
    "h": 270.1
  },
  "luminance": 0.06587
}

Semantic roles & 50–950 ramp

primary
#2F4196
secondary
#B9AB68
accent
#C34CDC
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2F4196

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

Preview Lab → · Contrast checker → · Palette generator →

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