#2F429A#2F429A

#2F429A is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.8% C 0.145 H 269.8°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#2F429A
RGBrgb(47, 66, 154)
HSLhsl(229, 53%, 39%)
HSVhsv(229, 69%, 60%)
CMYKcmyk(69.5%, 57.1%, 0%, 39.6%)
CIE-LABlab(31.42, 23.07, -50.39)
CIE-LCHlch(31.42, 55.42, 294.60°)
OKLaboklab(41.76% -0.0005 -0.1451)
OKLCHoklch(41.76% 0.145 269.8)
XYZxyz(8.9512, 6.8330, 31.4128)
Luminance0.0683 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F429A #9A872F
analogous
#2F789A #2F429A #522F9A
triadic
#2F429A #9A2F42 #429A2F
tetradic
#2F429A #9A2F78 #9A872F #2F9A52
square
#2F429A #9A2F78 #9A872F #2F9A52
split-complementary
#2F429A #9A522F #789A2F
monochromatic
#121A3C #212E6B #2F429A #4159C5 #7082D3

Accessibility & contrast

On white

8.87
#2F429A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#2F429A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F429A
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F429A#FFFFFF#000000##FFFFFF
##2F429A1.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9D
Deuteranopia (green-blind)
#004598
Tritanopia (blue-blind)
#005767
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2f429a;
/* rgb */ color: rgb(47, 66, 154);
/* oklch */ color: oklch(41.8% 0.145 269.8);
Tailwind
colors: {
  custom: {
    50: '#7576b8',
    500: '#2f429a',
    950: '#000000',
  },
}
SCSS
$custom: #2f429a;
$custom-light: #7576b8;
$custom-dark: #000000;
JSON
{
  "hex": "#2f429a",
  "rgb": {
    "r": 47,
    "g": 66,
    "b": 154
  },
  "hsl": {
    "h": 229.346,
    "s": 53.234,
    "l": 39.412
  },
  "oklch": {
    "l": 0.41761,
    "c": 0.14505,
    "h": 269.8
  },
  "luminance": 0.06834
}

Semantic roles & 50–950 ramp

primary
#2F429A
secondary
#BBAC6A
accent
#C34BDD
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2F429A

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

Preview Lab → · Contrast checker → · Palette generator →

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