#2F429E#2F429E

#2F429E is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.1% C 0.151 H 269.9°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#2F429E
RGBrgb(47, 66, 158)
HSLhsl(230, 54%, 40%)
HSVhsv(230, 70%, 62%)
CMYKcmyk(70.3%, 58.2%, 0%, 38%)
CIE-LABlab(31.74, 24.56, -52.31)
CIE-LCHlch(31.74, 57.79, 295.16°)
OKLaboklab(42.09% -0.0004 -0.1507)
OKLCHoklch(42.09% 0.151 269.9)
XYZxyz(9.2900, 6.9685, 33.1966)
Luminance0.0697 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F429E #9E8B2F
analogous
#2F799E #2F429E #542F9E
triadic
#2F429E #9E2F42 #429E2F
tetradic
#2F429E #9E2F79 #9E8B2F #2F9E54
square
#2F429E #9E2F79 #9E8B2F #2F9E54
split-complementary
#2F429E #9E542F #799E2F
monochromatic
#131B40 #212E6F #2F429E #435AC7 #7283D5

Accessibility & contrast

On white

8.77
#2F429E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#2F429E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F429E
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F429E#FFFFFF#000000##FFFFFF
##2F429E1.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A1
Deuteranopia (green-blind)
#00469C
Tritanopia (blue-blind)
#005969
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2f429e;
/* rgb */ color: rgb(47, 66, 158);
/* oklch */ color: oklch(42.1% 0.151 269.9);
Tailwind
colors: {
  custom: {
    50: '#7676bb',
    500: '#2f429e',
    950: '#000000',
  },
}
SCSS
$custom: #2f429e;
$custom-light: #7676bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2f429e",
  "rgb": {
    "r": 47,
    "g": 66,
    "b": 158
  },
  "hsl": {
    "h": 229.73,
    "s": 54.146,
    "l": 40.196
  },
  "oklch": {
    "l": 0.42092,
    "c": 0.15069,
    "h": 269.9
  },
  "luminance": 0.06969
}

Semantic roles & 50–950 ramp

primary
#2F429E
secondary
#BDAF6C
accent
#C44ADE
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2F429E

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

Preview Lab → · Contrast checker → · Palette generator →

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