#2D438E#2D438E

#2D438E is a dark, vivid blue. Relative luminance 0.065; OKLCH L 40.9% C 0.127 H 268.1°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#2D438E
RGBrgb(45, 67, 142)
HSLhsl(226, 52%, 37%)
HSVhsv(226, 68%, 56%)
CMYKcmyk(68.3%, 52.8%, 0%, 44.3%)
CIE-LABlab(30.70, 17.56, -44.24)
CIE-LCHlch(30.70, 47.60, 291.65°)
OKLaboklab(40.9% -0.0043 -0.127)
OKLCHoklch(40.9% 0.127 268.1)
XYZxyz(7.9702, 6.5244, 26.4253)
Luminance0.0653 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D438E #8E782D
analogous
#2D748E #2D438E #482D8E
triadic
#2D438E #8E2D43 #438E2D
tetradic
#2D438E #8E2D74 #8E782D #2D8E48
square
#2D438E #8E2D74 #8E782D #2D8E48
split-complementary
#2D438E #8E482D #748E2D
monochromatic
#101731 #1E2D60 #2D438E #3C59BC #677ECF

Accessibility & contrast

On white

9.11
#2D438E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#2D438E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D438E
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D438E#FFFFFF#000000##FFFFFF
##2D438E1.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154D91
Deuteranopia (green-blind)
#00448C
Tritanopia (blue-blind)
#005562
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2d438e;
/* rgb */ color: rgb(45, 67, 142);
/* oklch */ color: oklch(40.9% 0.127 268.1);
Tailwind
colors: {
  custom: {
    50: '#7276b0',
    500: '#2d438e',
    950: '#000000',
  },
}
SCSS
$custom: #2d438e;
$custom-light: #7276b0;
$custom-dark: #000000;
JSON
{
  "hex": "#2d438e",
  "rgb": {
    "r": 45,
    "g": 67,
    "b": 142
  },
  "hsl": {
    "h": 226.392,
    "s": 51.872,
    "l": 36.667
  },
  "oklch": {
    "l": 0.40902,
    "c": 0.12706,
    "h": 268.1
  },
  "luminance": 0.06525
}

Semantic roles & 50–950 ramp

primary
#2D438E
secondary
#B5A261
accent
#BB4CDB
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #2D438E

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

Preview Lab → · Contrast checker → · Palette generator →

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