#2D439C#2D439C

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

Color values

HEX#2D439C
RGBrgb(45, 67, 156)
HSLhsl(228, 55%, 39%)
HSVhsv(228, 71%, 61%)
CMYKcmyk(71.2%, 57.1%, 0%, 38.8%)
CIE-LABlab(31.74, 22.85, -51.09)
CIE-LCHlch(31.74, 55.97, 294.10°)
OKLaboklab(42.02% -0.0033 -0.1471)
OKLCHoklch(42.02% 0.147 268.7)
XYZxyz(9.0880, 6.9716, 32.3127)
Luminance0.0697 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D439C #9C862D
analogous
#2D7B9C #2D439C #4F2D9C
triadic
#2D439C #9C2D43 #439C2D
tetradic
#2D439C #9C2D7B #9C862D #2D9C4F
square
#2D439C #9C2D7B #9C862D #2D9C4F
split-complementary
#2D439C #9C4F2D #7B9C2D
monochromatic
#121A3D #1F2F6D #2D439C #3F5AC8 #6E83D5

Accessibility & contrast

On white

8.77
#2D439C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D439C
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D439C#FFFFFF#000000##FFFFFF
##2D439C1.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.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: #2d439c;
/* rgb */ color: rgb(45, 67, 156);
/* oklch */ color: oklch(42.0% 0.147 268.7);
Tailwind
colors: {
  custom: {
    50: '#7576ba',
    500: '#2d439c',
    950: '#000000',
  },
}
SCSS
$custom: #2d439c;
$custom-light: #7576ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2d439c",
  "rgb": {
    "r": 45,
    "g": 67,
    "b": 156
  },
  "hsl": {
    "h": 228.108,
    "s": 55.224,
    "l": 39.412
  },
  "oklch": {
    "l": 0.42019,
    "c": 0.14719,
    "h": 268.7
  },
  "luminance": 0.06972
}

Semantic roles & 50–950 ramp

primary
#2D439C
secondary
#BCAC68
accent
#C149DF
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2D439C

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

Preview Lab → · Contrast checker → · Palette generator →

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