#2F439A#2F439A

#2F439A is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.0% C 0.144 H 269.5°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#2F439A
RGBrgb(47, 67, 154)
HSLhsl(229, 53%, 39%)
HSVhsv(229, 69%, 60%)
CMYKcmyk(69.5%, 56.5%, 0%, 39.6%)
CIE-LABlab(31.69, 22.40, -49.95)
CIE-LCHlch(31.69, 54.74, 294.16°)
OKLaboklab(41.96% -0.0014 -0.1437)
OKLCHoklch(41.96% 0.144 269.5)
XYZxyz(9.0102, 6.9509, 31.4324)
Luminance0.0695 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F439A #9A862F
analogous
#2F799A #2F439A #512F9A
triadic
#2F439A #9A2F43 #439A2F
tetradic
#2F439A #9A2F79 #9A862F #2F9A51
square
#2F439A #9A2F79 #9A862F #2F9A51
split-complementary
#2F439A #9A512F #799A2F
monochromatic
#121A3C #212F6B #2F439A #415AC5 #7083D3

Accessibility & contrast

On white

8.79
#2F439A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F439A
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F439A#FFFFFF#000000##FFFFFF
##2F439A1.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00509D
Deuteranopia (green-blind)
#004698
Tritanopia (blue-blind)
#005868
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2f439a;
/* rgb */ color: rgb(47, 67, 154);
/* oklch */ color: oklch(42.0% 0.144 269.5);
Tailwind
colors: {
  custom: {
    50: '#7576b8',
    500: '#2f439a',
    950: '#000000',
  },
}
SCSS
$custom: #2f439a;
$custom-light: #7576b8;
$custom-dark: #000000;
JSON
{
  "hex": "#2f439a",
  "rgb": {
    "r": 47,
    "g": 67,
    "b": 154
  },
  "hsl": {
    "h": 228.785,
    "s": 53.234,
    "l": 39.412
  },
  "oklch": {
    "l": 0.41964,
    "c": 0.14376,
    "h": 269.5
  },
  "luminance": 0.06952
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F439A

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

Preview Lab → · Contrast checker → · Palette generator →

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