#2E438D#2E438D

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

Color values

HEX#2E438D
RGBrgb(46, 67, 141)
HSLhsl(227, 51%, 37%)
HSVhsv(227, 67%, 55%)
CMYKcmyk(67.4%, 52.5%, 0%, 44.7%)
CIE-LABlab(30.68, 17.36, -43.65)
CIE-LCHlch(30.68, 46.97, 291.69°)
OKLaboklab(40.88% -0.0034 -0.1252)
OKLCHoklch(40.88% 0.125 268.5)
XYZxyz(7.9399, 6.5175, 26.0337)
Luminance0.0652 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E438D #8D782E
analogous
#2E738D #2E438D #492E8D
triadic
#2E438D #8D2E43 #438D2E
tetradic
#2E438D #8D2E73 #8D782E #2E8D49
square
#2E438D #8D2E73 #8D782E #2E8D49
split-complementary
#2E438D #8D492E #738D2E
monochromatic
#101731 #1F2D5F #2E438D #3D59BB #687ECE

Accessibility & contrast

On white

9.12
#2E438D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E438D
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E438D#FFFFFF#000000##FFFFFF
##2E438D1.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.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: #2e438d;
/* rgb */ color: rgb(46, 67, 141);
/* oklch */ color: oklch(40.9% 0.125 268.5);
Tailwind
colors: {
  custom: {
    50: '#7276af',
    500: '#2e438d',
    950: '#000000',
  },
}
SCSS
$custom: #2e438d;
$custom-light: #7276af;
$custom-dark: #000000;
JSON
{
  "hex": "#2e438d",
  "rgb": {
    "r": 46,
    "g": 67,
    "b": 141
  },
  "hsl": {
    "h": 226.737,
    "s": 50.802,
    "l": 36.667
  },
  "oklch": {
    "l": 0.40882,
    "c": 0.12528,
    "h": 268.5
  },
  "luminance": 0.06518
}

Semantic roles & 50–950 ramp

primary
#2E438D
secondary
#B5A262
accent
#BB4EDA
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #2E438D

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

Preview Lab → · Contrast checker → · Palette generator →

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