#2F429B#2F429B

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

Color values

HEX#2F429B
RGBrgb(47, 66, 155)
HSLhsl(229, 53%, 40%)
HSVhsv(229, 70%, 61%)
CMYKcmyk(69.7%, 57.4%, 0%, 39.2%)
CIE-LABlab(31.50, 23.45, -50.87)
CIE-LCHlch(31.50, 56.01, 294.74°)
OKLaboklab(41.84% -0.0004 -0.1465)
OKLCHoklch(41.84% 0.146 269.8)
XYZxyz(9.0349, 6.8665, 31.8532)
Luminance0.0687 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F429B #9B882F
analogous
#2F789B #2F429B #522F9B
triadic
#2F429B #9B2F42 #429B2F
tetradic
#2F429B #9B2F78 #9B882F #2F9B52
square
#2F429B #9B2F78 #9B882F #2F9B52
split-complementary
#2F429B #9B522F #789B2F
monochromatic
#131A3D #212E6C #2F429B #4259C6 #7182D4

Accessibility & contrast

On white

8.85
#2F429B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F429B
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F429B#FFFFFF#000000##FFFFFF
##2F429B1.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9E
Deuteranopia (green-blind)
#004599
Tritanopia (blue-blind)
#005868
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2f429b;
/* rgb */ color: rgb(47, 66, 155);
/* oklch */ color: oklch(41.8% 0.146 269.8);
Tailwind
colors: {
  custom: {
    50: '#7576b9',
    500: '#2f429b',
    950: '#000000',
  },
}
SCSS
$custom: #2f429b;
$custom-light: #7576b9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f429b",
  "rgb": {
    "r": 47,
    "g": 66,
    "b": 155
  },
  "hsl": {
    "h": 229.444,
    "s": 53.465,
    "l": 39.608
  },
  "oklch": {
    "l": 0.41843,
    "c": 0.14647,
    "h": 269.8
  },
  "luminance": 0.06867
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F429B

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

Preview Lab → · Contrast checker → · Palette generator →

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