#2D438F#2D438F

#2D438F is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.0% C 0.129 H 268.1°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#2D438F
RGBrgb(45, 67, 143)
HSLhsl(227, 52%, 37%)
HSVhsv(227, 69%, 56%)
CMYKcmyk(68.5%, 53.1%, 0%, 43.9%)
CIE-LABlab(30.77, 17.94, -44.74)
CIE-LCHlch(30.77, 48.20, 291.85°)
OKLaboklab(40.98% -0.0042 -0.1284)
OKLCHoklch(40.98% 0.129 268.1)
XYZxyz(8.0456, 6.5546, 26.8224)
Luminance0.0655 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D438F #8F792D
analogous
#2D748F #2D438F #482D8F
triadic
#2D438F #8F2D43 #438F2D
tetradic
#2D438F #8F2D74 #8F792D #2D8F48
square
#2D438F #8F2D74 #8F792D #2D8F48
split-complementary
#2D438F #8F482D #748F2D
monochromatic
#101732 #1E2D60 #2D438F #3C59BE #677FCF

Accessibility & contrast

On white

9.09
#2D438F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D438F
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D438F#FFFFFF#000000##FFFFFF
##2D438F1.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144D92
Deuteranopia (green-blind)
#00448D
Tritanopia (blue-blind)
#005562
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2d438f;
/* rgb */ color: rgb(45, 67, 143);
/* oklch */ color: oklch(41.0% 0.129 268.1);
Tailwind
colors: {
  custom: {
    50: '#7276b0',
    500: '#2d438f',
    950: '#000000',
  },
}
SCSS
$custom: #2d438f;
$custom-light: #7276b0;
$custom-dark: #000000;
JSON
{
  "hex": "#2d438f",
  "rgb": {
    "r": 45,
    "g": 67,
    "b": 143
  },
  "hsl": {
    "h": 226.531,
    "s": 52.128,
    "l": 36.863
  },
  "oklch": {
    "l": 0.4098,
    "c": 0.12852,
    "h": 268.1
  },
  "luminance": 0.06555
}

Semantic roles & 50–950 ramp

primary
#2D438F
secondary
#B6A362
accent
#BB4CDC
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #2D438F

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

Preview Lab → · Contrast checker → · Palette generator →

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