#2E438A#2E438A

#2E438A is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.7% C 0.121 H 268.2°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#2E438A
RGBrgb(46, 67, 138)
HSLhsl(226, 50%, 36%)
HSVhsv(226, 67%, 54%)
CMYKcmyk(66.7%, 51.4%, 0%, 45.9%)
CIE-LABlab(30.47, 16.23, -42.14)
CIE-LCHlch(30.47, 45.16, 291.06°)
OKLaboklab(40.65% -0.0037 -0.1208)
OKLCHoklch(40.65% 0.121 268.2)
XYZxyz(7.7197, 6.4294, 24.8740)
Luminance0.0643 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E438A #8A752E
analogous
#2E718A #2E438A #472E8A
triadic
#2E438A #8A2E43 #438A2E
tetradic
#2E438A #8A2E71 #8A752E #2E8A47
square
#2E438A #8A2E71 #8A752E #2E8A47
split-complementary
#2E438A #8A472E #718A2E
monochromatic
#0F162E #1F2D5C #2E438A #3D59B8 #667ECC

Accessibility & contrast

On white

9.19
#2E438A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E438A
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E438A#FFFFFF#000000##FFFFFF
##2E438A1.009.192.299.19
#FFFFFF9.191.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4C8D
Deuteranopia (green-blind)
#014489
Tritanopia (blue-blind)
#005460
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2e438a;
/* rgb */ color: rgb(46, 67, 138);
/* oklch */ color: oklch(40.7% 0.121 268.2);
Tailwind
colors: {
  custom: {
    50: '#7176ad',
    500: '#2e438a',
    950: '#000000',
  },
}
SCSS
$custom: #2e438a;
$custom-light: #7176ad;
$custom-dark: #000000;
JSON
{
  "hex": "#2e438a",
  "rgb": {
    "r": 46,
    "g": 67,
    "b": 138
  },
  "hsl": {
    "h": 226.304,
    "s": 50,
    "l": 36.078
  },
  "oklch": {
    "l": 0.40654,
    "c": 0.12085,
    "h": 268.2
  },
  "luminance": 0.0643
}

Semantic roles & 50–950 ramp

primary
#2E438A
secondary
#B3A061
accent
#BA4EDA
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2E438A

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

Preview Lab → · Contrast checker → · Palette generator →

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