#2F419A#2F419A

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

Color values

HEX#2F419A
RGBrgb(47, 65, 154)
HSLhsl(230, 53%, 39%)
HSVhsv(230, 69%, 60%)
CMYKcmyk(69.5%, 57.8%, 0%, 39.6%)
CIE-LABlab(31.15, 23.74, -50.83)
CIE-LCHlch(31.15, 56.10, 295.04°)
OKLaboklab(41.56% 0.0004 -0.1463)
OKLCHoklch(41.56% 0.146 270.1)
XYZxyz(8.8933, 6.7172, 31.3934)
Luminance0.0672 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F419A #9A882F
analogous
#2F769A #2F419A #532F9A
triadic
#2F419A #9A2F41 #419A2F
tetradic
#2F419A #9A2F76 #9A882F #2F9A53
square
#2F419A #9A2F76 #9A882F #2F9A53
split-complementary
#2F419A #9A532F #769A2F
monochromatic
#12193C #212D6B #2F419A #4157C5 #7081D3

Accessibility & contrast

On white

8.96
#2F419A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F419A
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F419A#FFFFFF#000000##FFFFFF
##2F419A1.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9D
Deuteranopia (green-blind)
#004598
Tritanopia (blue-blind)
#005767
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2f419a;
/* rgb */ color: rgb(47, 65, 154);
/* oklch */ color: oklch(41.6% 0.146 270.1);
Tailwind
colors: {
  custom: {
    50: '#7575b8',
    500: '#2f419a',
    950: '#000000',
  },
}
SCSS
$custom: #2f419a;
$custom-light: #7575b8;
$custom-dark: #000000;
JSON
{
  "hex": "#2f419a",
  "rgb": {
    "r": 47,
    "g": 65,
    "b": 154
  },
  "hsl": {
    "h": 229.907,
    "s": 53.234,
    "l": 39.412
  },
  "oklch": {
    "l": 0.41559,
    "c": 0.14635,
    "h": 270.1
  },
  "luminance": 0.06718
}

Semantic roles & 50–950 ramp

primary
#2F419A
secondary
#BBAD6A
accent
#C44BDD
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2F419A

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

Preview Lab → · Contrast checker → · Palette generator →

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