#2D3E8F#2D3E8F

#2D3E8F is a dark, vivid blue. Relative luminance 0.060; OKLCH L 39.9% C 0.135 H 270.2°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#2D3E8F
RGBrgb(45, 62, 143)
HSLhsl(230, 52%, 37%)
HSVhsv(230, 69%, 56%)
CMYKcmyk(68.5%, 56.6%, 0%, 43.9%)
CIE-LABlab(29.38, 21.33, -46.99)
CIE-LCHlch(29.38, 51.61, 294.42°)
OKLaboklab(39.93% 0.0005 -0.1352)
OKLCHoklch(39.93% 0.135 270.2)
XYZxyz(7.7611, 5.9856, 26.7276)
Luminance0.0599 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3E8F #8F7E2D
analogous
#2D6F8F #2D3E8F #4D2D8F
triadic
#2D3E8F #8F2D3E #3E8F2D
tetradic
#2D3E8F #8F2D6F #8F7E2D #2D8F4D
square
#2D3E8F #8F2D6F #8F7E2D #2D8F4D
split-complementary
#2D3E8F #8F4D2D #6F8F2D
monochromatic
#101632 #1E2A60 #2D3E8F #3C52BE #6779CF

Accessibility & contrast

On white

9.56
#2D3E8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#2D3E8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3E8F
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3E8F#FFFFFF#000000##FFFFFF
##2D3E8F1.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A92
Deuteranopia (green-blind)
#00418D
Tritanopia (blue-blind)
#005160
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2d3e8f;
/* rgb */ color: rgb(45, 62, 143);
/* oklch */ color: oklch(39.9% 0.135 270.2);
Tailwind
colors: {
  custom: {
    50: '#7273b0',
    500: '#2d3e8f',
    950: '#000000',
  },
}
SCSS
$custom: #2d3e8f;
$custom-light: #7273b0;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3e8f",
  "rgb": {
    "r": 45,
    "g": 62,
    "b": 143
  },
  "hsl": {
    "h": 229.592,
    "s": 52.128,
    "l": 36.863
  },
  "oklch": {
    "l": 0.39929,
    "c": 0.13517,
    "h": 270.2
  },
  "luminance": 0.05986
}

Semantic roles & 50–950 ramp

primary
#2D3E8F
secondary
#B6A762
accent
#C34CDC
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2D3E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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