#2F439E#2F439E

#2F439E is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.3% C 0.149 H 269.5°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#2F439E
RGBrgb(47, 67, 158)
HSLhsl(229, 54%, 40%)
HSVhsv(229, 70%, 62%)
CMYKcmyk(70.3%, 57.6%, 0%, 38%)
CIE-LABlab(32.00, 23.90, -51.87)
CIE-LCHlch(32.00, 57.11, 294.73°)
OKLaboklab(42.29% -0.0012 -0.1494)
OKLCHoklch(42.29% 0.149 269.5)
XYZxyz(9.3489, 7.0864, 33.2162)
Luminance0.0709 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F439E #9E8A2F
analogous
#2F7A9E #2F439E #522F9E
triadic
#2F439E #9E2F43 #439E2F
tetradic
#2F439E #9E2F7A #9E8A2F #2F9E52
square
#2F439E #9E2F7A #9E8A2F #2F9E52
split-complementary
#2F439E #9E522F #7A9E2F
monochromatic
#131B40 #212F6F #2F439E #435BC7 #7284D5

Accessibility & contrast

On white

8.69
#2F439E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#2F439E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F439E
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F439E#FFFFFF#000000##FFFFFF
##2F439E1.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A1
Deuteranopia (green-blind)
#00469C
Tritanopia (blue-blind)
#00596A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2f439e;
/* rgb */ color: rgb(47, 67, 158);
/* oklch */ color: oklch(42.3% 0.149 269.5);
Tailwind
colors: {
  custom: {
    50: '#7676bb',
    500: '#2f439e',
    950: '#000000',
  },
}
SCSS
$custom: #2f439e;
$custom-light: #7676bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2f439e",
  "rgb": {
    "r": 47,
    "g": 67,
    "b": 158
  },
  "hsl": {
    "h": 229.189,
    "s": 54.146,
    "l": 40.196
  },
  "oklch": {
    "l": 0.42292,
    "c": 0.1494,
    "h": 269.5
  },
  "luminance": 0.07087
}

Semantic roles & 50–950 ramp

primary
#2F439E
secondary
#BDAE6C
accent
#C34ADE
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2F439E

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

Preview Lab → · Contrast checker → · Palette generator →

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