#2E438E#2E438E

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

Color values

HEX#2E438E
RGBrgb(46, 67, 142)
HSLhsl(227, 51%, 37%)
HSVhsv(227, 68%, 56%)
CMYKcmyk(67.6%, 52.8%, 0%, 44.3%)
CIE-LABlab(30.75, 17.73, -44.15)
CIE-LCHlch(30.75, 47.57, 291.88°)
OKLaboklab(40.96% -0.0033 -0.1267)
OKLCHoklch(40.96% 0.127 268.5)
XYZxyz(8.0147, 6.5474, 26.4273)
Luminance0.0655 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E438E #8E792E
analogous
#2E738E #2E438E #492E8E
triadic
#2E438E #8E2E43 #438E2E
tetradic
#2E438E #8E2E73 #8E792E #2E8E49
square
#2E438E #8E2E73 #8E792E #2E8E49
split-complementary
#2E438E #8E492E #738E2E
monochromatic
#101732 #1F2D60 #2E438E #3D59BC #687FCE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E438E#FFFFFF#000000##FFFFFF
##2E438E1.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)
#164D91
Deuteranopia (green-blind)
#00448C
Tritanopia (blue-blind)
#005562
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2e438e;
/* rgb */ color: rgb(46, 67, 142);
/* oklch */ color: oklch(41.0% 0.127 268.5);
Tailwind
colors: {
  custom: {
    50: '#7276b0',
    500: '#2e438e',
    950: '#000000',
  },
}
SCSS
$custom: #2e438e;
$custom-light: #7276b0;
$custom-dark: #000000;
JSON
{
  "hex": "#2e438e",
  "rgb": {
    "r": 46,
    "g": 67,
    "b": 142
  },
  "hsl": {
    "h": 226.875,
    "s": 51.064,
    "l": 36.863
  },
  "oklch": {
    "l": 0.40959,
    "c": 0.12674,
    "h": 268.5
  },
  "luminance": 0.06548
}

Semantic roles & 50–950 ramp

primary
#2E438E
secondary
#B5A363
accent
#BC4DDB
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #2E438E

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

Preview Lab → · Contrast checker → · Palette generator →

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