#2F4199#2F4199

#2F4199 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.5% C 0.145 H 270.1°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#2F4199
RGBrgb(47, 65, 153)
HSLhsl(230, 53%, 39%)
HSVhsv(230, 69%, 60%)
CMYKcmyk(69.3%, 57.5%, 0%, 40%)
CIE-LABlab(31.08, 23.37, -50.34)
CIE-LCHlch(31.08, 55.50, 294.90°)
OKLaboklab(41.48% 0.0003 -0.1449)
OKLCHoklch(41.48% 0.145 270.1)
XYZxyz(8.8104, 6.6840, 30.9566)
Luminance0.0669 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4199 #99872F
analogous
#2F7699 #2F4199 #522F99
triadic
#2F4199 #992F41 #41992F
tetradic
#2F4199 #992F76 #99872F #2F9952
square
#2F4199 #992F76 #99872F #2F9952
split-complementary
#2F4199 #99522F #76992F
monochromatic
#12193B #212D6A #2F4199 #4157C5 #6F80D3

Accessibility & contrast

On white

8.99
#2F4199 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#2F4199 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4199
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4199#FFFFFF#000000##FFFFFF
##2F41991.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9C
Deuteranopia (green-blind)
#004497
Tritanopia (blue-blind)
#005666
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2f4199;
/* rgb */ color: rgb(47, 65, 153);
/* oklch */ color: oklch(41.5% 0.145 270.1);
Tailwind
colors: {
  custom: {
    50: '#7575b8',
    500: '#2f4199',
    950: '#000000',
  },
}
SCSS
$custom: #2f4199;
$custom-light: #7575b8;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4199",
  "rgb": {
    "r": 47,
    "g": 65,
    "b": 153
  },
  "hsl": {
    "h": 229.811,
    "s": 53,
    "l": 39.216
  },
  "oklch": {
    "l": 0.41477,
    "c": 0.14494,
    "h": 270.1
  },
  "luminance": 0.06685
}

Semantic roles & 50–950 ramp

primary
#2F4199
secondary
#BAAD69
accent
#C44BDC
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2F4199

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

Preview Lab → · Contrast checker → · Palette generator →

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