#2F439C#2F439C

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

Color values

HEX#2F439C
RGBrgb(47, 67, 156)
HSLhsl(229, 54%, 40%)
HSVhsv(229, 70%, 61%)
CMYKcmyk(69.9%, 57.1%, 0%, 38.8%)
CIE-LABlab(31.85, 23.15, -50.91)
CIE-LCHlch(31.85, 55.93, 294.45°)
OKLaboklab(42.13% -0.0013 -0.1466)
OKLCHoklch(42.13% 0.147 269.5)
XYZxyz(9.1781, 7.0181, 32.3170)
Luminance0.0702 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F439C #9C882F
analogous
#2F7A9C #2F439C #522F9C
triadic
#2F439C #9C2F43 #439C2F
tetradic
#2F439C #9C2F7A #9C882F #2F9C52
square
#2F439C #9C2F7A #9C882F #2F9C52
split-complementary
#2F439C #9C522F #7A9C2F
monochromatic
#131B3E #212F6D #2F439C #425AC6 #7183D4

Accessibility & contrast

On white

8.74
#2F439C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#2F439C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F439C
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F439C#FFFFFF#000000##FFFFFF
##2F439C1.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00509F
Deuteranopia (green-blind)
#00469A
Tritanopia (blue-blind)
#005969
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2f439c;
/* rgb */ color: rgb(47, 67, 156);
/* oklch */ color: oklch(42.1% 0.147 269.5);
Tailwind
colors: {
  custom: {
    50: '#7676ba',
    500: '#2f439c',
    950: '#000000',
  },
}
SCSS
$custom: #2f439c;
$custom-light: #7676ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2f439c",
  "rgb": {
    "r": 47,
    "g": 67,
    "b": 156
  },
  "hsl": {
    "h": 228.991,
    "s": 53.695,
    "l": 39.804
  },
  "oklch": {
    "l": 0.42127,
    "c": 0.14659,
    "h": 269.5
  },
  "luminance": 0.07019
}

Semantic roles & 50–950 ramp

primary
#2F439C
secondary
#BCAD6B
accent
#C24BDD
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2F439C

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

Preview Lab → · Contrast checker → · Palette generator →

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