#2D438C#2D438C

#2D438C is a dark, vivid blue. Relative luminance 0.065; OKLCH L 40.7% C 0.124 H 267.9°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#2D438C
RGBrgb(45, 67, 140)
HSLhsl(226, 51%, 36%)
HSVhsv(226, 68%, 55%)
CMYKcmyk(67.9%, 52.1%, 0%, 45.1%)
CIE-LABlab(30.56, 16.80, -43.24)
CIE-LCHlch(30.56, 46.39, 291.24°)
OKLaboklab(40.75% -0.0045 -0.124)
OKLCHoklch(40.75% 0.124 267.9)
XYZxyz(7.8213, 6.4649, 25.6415)
Luminance0.0647 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D438C #8C762D
analogous
#2D738C #2D438C #472D8C
triadic
#2D438C #8C2D43 #438C2D
tetradic
#2D438C #8C2D73 #8C762D #2D8C47
square
#2D438C #8C2D73 #8C762D #2D8C47
split-complementary
#2D438C #8C472D #738C2D
monochromatic
#0F172F #1E2D5E #2D438C #3C59BA #667ECE

Accessibility & contrast

On white

9.16
#2D438C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#2D438C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D438C
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D438C#FFFFFF#000000##FFFFFF
##2D438C1.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d438c;
/* rgb */ color: rgb(45, 67, 140);
/* oklch */ color: oklch(40.7% 0.124 267.9);
Tailwind
colors: {
  custom: {
    50: '#7176ae',
    500: '#2d438c',
    950: '#000000',
  },
}
SCSS
$custom: #2d438c;
$custom-light: #7176ae;
$custom-dark: #000000;
JSON
{
  "hex": "#2d438c",
  "rgb": {
    "r": 45,
    "g": 67,
    "b": 140
  },
  "hsl": {
    "h": 226.105,
    "s": 51.351,
    "l": 36.275
  },
  "oklch": {
    "l": 0.40749,
    "c": 0.12412,
    "h": 267.9
  },
  "luminance": 0.06466
}

Semantic roles & 50–950 ramp

primary
#2D438C
secondary
#B4A160
accent
#BA4DDB
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2D438C

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

Preview Lab → · Contrast checker → · Palette generator →

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