#2D438D#2D438D

#2D438D is a dark, vivid blue. Relative luminance 0.065; OKLCH L 40.8% C 0.126 H 268.0°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#2D438D
RGBrgb(45, 67, 141)
HSLhsl(226, 52%, 36%)
HSVhsv(226, 68%, 55%)
CMYKcmyk(68.1%, 52.5%, 0%, 44.7%)
CIE-LABlab(30.63, 17.18, -43.74)
CIE-LCHlch(30.63, 46.99, 291.45°)
OKLaboklab(40.83% -0.0044 -0.1255)
OKLCHoklch(40.83% 0.126 268)
XYZxyz(7.8954, 6.4945, 26.0316)
Luminance0.0649 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D438D #8D772D
analogous
#2D738D #2D438D #472D8D
triadic
#2D438D #8D2D43 #438D2D
tetradic
#2D438D #8D2D73 #8D772D #2D8D47
square
#2D438D #8D2D73 #8D772D #2D8D47
split-complementary
#2D438D #8D472D #738D2D
monochromatic
#0F1730 #1E2D5F #2D438D #3C59BB #667ECE

Accessibility & contrast

On white

9.13
#2D438D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#2D438D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D438D
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D438D#FFFFFF#000000##FFFFFF
##2D438D1.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174D90
Deuteranopia (green-blind)
#00448B
Tritanopia (blue-blind)
#005461
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2d438d;
/* rgb */ color: rgb(45, 67, 141);
/* oklch */ color: oklch(40.8% 0.126 268.0);
Tailwind
colors: {
  custom: {
    50: '#7176af',
    500: '#2d438d',
    950: '#000000',
  },
}
SCSS
$custom: #2d438d;
$custom-light: #7176af;
$custom-dark: #000000;
JSON
{
  "hex": "#2d438d",
  "rgb": {
    "r": 45,
    "g": 67,
    "b": 141
  },
  "hsl": {
    "h": 226.25,
    "s": 51.613,
    "l": 36.471
  },
  "oklch": {
    "l": 0.40826,
    "c": 0.1256,
    "h": 268
  },
  "luminance": 0.06495
}

Semantic roles & 50–950 ramp

primary
#2D438D
secondary
#B5A261
accent
#BA4DDB
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #2D438D

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

Preview Lab → · Contrast checker → · Palette generator →

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