#2E438B#2E438B

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

Color values

HEX#2E438B
RGBrgb(46, 67, 139)
HSLhsl(226, 50%, 36%)
HSVhsv(226, 67%, 55%)
CMYKcmyk(66.9%, 51.8%, 0%, 45.5%)
CIE-LABlab(30.54, 16.60, -42.64)
CIE-LCHlch(30.54, 45.76, 291.27°)
OKLaboklab(40.73% -0.0036 -0.1223)
OKLCHoklch(40.73% 0.122 268.3)
XYZxyz(7.7925, 6.4585, 25.2571)
Luminance0.0646 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E438B #8B762E
analogous
#2E728B #2E438B #482E8B
triadic
#2E438B #8B2E43 #438B2E
tetradic
#2E438B #8B2E72 #8B762E #2E8B48
square
#2E438B #8B2E72 #8B762E #2E8B48
split-complementary
#2E438B #8B482E #728B2E
monochromatic
#10172F #1F2D5D #2E438B #3D59B9 #677ECD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E438B#FFFFFF#000000##FFFFFF
##2E438B1.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)
#1A4C8E
Deuteranopia (green-blind)
#00448A
Tritanopia (blue-blind)
#005460
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2e438b;
/* rgb */ color: rgb(46, 67, 139);
/* oklch */ color: oklch(40.7% 0.122 268.3);
Tailwind
colors: {
  custom: {
    50: '#7176ad',
    500: '#2e438b',
    950: '#000000',
  },
}
SCSS
$custom: #2e438b;
$custom-light: #7176ad;
$custom-dark: #000000;
JSON
{
  "hex": "#2e438b",
  "rgb": {
    "r": 46,
    "g": 67,
    "b": 139
  },
  "hsl": {
    "h": 226.452,
    "s": 50.27,
    "l": 36.275
  },
  "oklch": {
    "l": 0.4073,
    "c": 0.12232,
    "h": 268.3
  },
  "luminance": 0.06459
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E438B

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

Preview Lab → · Contrast checker → · Palette generator →

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