#2E438C#2E438C

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

Color values

HEX#2E438C
RGBrgb(46, 67, 140)
HSLhsl(227, 51%, 36%)
HSVhsv(227, 67%, 55%)
CMYKcmyk(67.1%, 52.1%, 0%, 45.1%)
CIE-LABlab(30.61, 16.98, -43.15)
CIE-LCHlch(30.61, 46.37, 291.48°)
OKLaboklab(40.81% -0.0035 -0.1237)
OKLCHoklch(40.81% 0.124 268.4)
XYZxyz(7.8659, 6.4879, 25.6436)
Luminance0.0649 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E438C #8C772E
analogous
#2E728C #2E438C #482E8C
triadic
#2E438C #8C2E43 #438C2E
tetradic
#2E438C #8C2E72 #8C772E #2E8C48
square
#2E438C #8C2E72 #8C772E #2E8C48
split-complementary
#2E438C #8C482E #728C2E
monochromatic
#101730 #1F2D5E #2E438C #3D59BA #677ECD

Accessibility & contrast

On white

9.14
#2E438C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E438C
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E438C#FFFFFF#000000##FFFFFF
##2E438C1.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e438c;
/* rgb */ color: rgb(46, 67, 140);
/* oklch */ color: oklch(40.8% 0.124 268.4);
Tailwind
colors: {
  custom: {
    50: '#7276ae',
    500: '#2e438c',
    950: '#000000',
  },
}
SCSS
$custom: #2e438c;
$custom-light: #7276ae;
$custom-dark: #000000;
JSON
{
  "hex": "#2e438c",
  "rgb": {
    "r": 46,
    "g": 67,
    "b": 140
  },
  "hsl": {
    "h": 226.596,
    "s": 50.538,
    "l": 36.471
  },
  "oklch": {
    "l": 0.40806,
    "c": 0.1238,
    "h": 268.4
  },
  "luminance": 0.06489
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E438C

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

Preview Lab → · Contrast checker → · Palette generator →

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