#2E488E#2E488E

#2E488E is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.0% C 0.120 H 266.1°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#2E488E
RGBrgb(46, 72, 142)
HSLhsl(224, 51%, 37%)
HSVhsv(224, 68%, 56%)
CMYKcmyk(67.6%, 49.3%, 0%, 44.3%)
CIE-LABlab(32.19, 14.35, -41.84)
CIE-LCHlch(32.19, 44.23, 288.93°)
OKLaboklab(42.05% -0.0082 -0.1198)
OKLCHoklch(42.05% 0.12 266.1)
XYZxyz(8.3249, 7.1678, 26.5307)
Luminance0.0717 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E488E #8E742E
analogous
#2E788E #2E488E #442E8E
triadic
#2E488E #8E2E48 #488E2E
tetradic
#2E488E #8E2E78 #8E742E #2E8E44
square
#2E488E #8E2E78 #8E742E #2E8E44
split-complementary
#2E488E #8E442E #788E2E
monochromatic
#101932 #1F3160 #2E488E #3D5FBC #6884CE

Accessibility & contrast

On white

8.63
#2E488E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#2E488E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E488E
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E488E#FFFFFF#000000##FFFFFF
##2E488E1.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235091
Deuteranopia (green-blind)
#0D488D
Tritanopia (blue-blind)
#005864
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2e488e;
/* rgb */ color: rgb(46, 72, 142);
/* oklch */ color: oklch(42.0% 0.120 266.1);
Tailwind
colors: {
  custom: {
    50: '#727aaf',
    500: '#2e488e',
    950: '#000000',
  },
}
SCSS
$custom: #2e488e;
$custom-light: #727aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#2e488e",
  "rgb": {
    "r": 46,
    "g": 72,
    "b": 142
  },
  "hsl": {
    "h": 223.75,
    "s": 51.064,
    "l": 36.863
  },
  "oklch": {
    "l": 0.42047,
    "c": 0.12011,
    "h": 266.1
  },
  "luminance": 0.07169
}

Semantic roles & 50–950 ramp

primary
#2E488E
secondary
#B59F63
accent
#B44DDB
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#090910
muted
#7B7B7F

Preview Lab

Preview with #2E488E

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

Preview Lab → · Contrast checker → · Palette generator →

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