#2F429C#2F429C

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

Color values

HEX#2F429C
RGBrgb(47, 66, 156)
HSLhsl(230, 54%, 40%)
HSVhsv(230, 70%, 61%)
CMYKcmyk(69.9%, 57.7%, 0%, 38.8%)
CIE-LABlab(31.58, 23.82, -51.35)
CIE-LCHlch(31.58, 56.61, 294.88°)
OKLaboklab(41.93% -0.0004 -0.1479)
OKLCHoklch(41.93% 0.148 269.8)
XYZxyz(9.1192, 6.9002, 32.2973)
Luminance0.0690 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F429C #9C892F
analogous
#2F799C #2F429C #522F9C
triadic
#2F429C #9C2F42 #429C2F
tetradic
#2F429C #9C2F79 #9C892F #2F9C52
square
#2F429C #9C2F79 #9C892F #2F9C52
split-complementary
#2F429C #9C522F #799C2F
monochromatic
#131A3E #212E6D #2F429C #4259C6 #7182D4

Accessibility & contrast

On white

8.82
#2F429C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#2F429C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F429C
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F429C#FFFFFF#000000##FFFFFF
##2F429C1.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9F
Deuteranopia (green-blind)
#00459A
Tritanopia (blue-blind)
#005868
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2f429c;
/* rgb */ color: rgb(47, 66, 156);
/* oklch */ color: oklch(41.9% 0.148 269.8);
Tailwind
colors: {
  custom: {
    50: '#7676ba',
    500: '#2f429c',
    950: '#000000',
  },
}
SCSS
$custom: #2f429c;
$custom-light: #7676ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2f429c",
  "rgb": {
    "r": 47,
    "g": 66,
    "b": 156
  },
  "hsl": {
    "h": 229.541,
    "s": 53.695,
    "l": 39.804
  },
  "oklch": {
    "l": 0.41926,
    "c": 0.14788,
    "h": 269.8
  },
  "luminance": 0.06901
}

Semantic roles & 50–950 ramp

primary
#2F429C
secondary
#BCAE6B
accent
#C44BDD
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2F429C

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

Preview Lab → · Contrast checker → · Palette generator →

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