#2E488C#2E488C

#2E488C is a dark, moderate blue. Relative luminance 0.071; OKLCH L 41.9% C 0.117 H 265.8°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#2E488C
RGBrgb(46, 72, 140)
HSLhsl(223, 51%, 36%)
HSVhsv(223, 67%, 55%)
CMYKcmyk(67.1%, 48.6%, 0%, 45.1%)
CIE-LABlab(32.05, 13.60, -40.83)
CIE-LCHlch(32.05, 43.03, 288.42°)
OKLaboklab(41.9% -0.0085 -0.1169)
OKLCHoklch(41.9% 0.117 265.8)
XYZxyz(8.1761, 7.1083, 25.7470)
Luminance0.0711 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E488C #8C722E
analogous
#2E778C #2E488C #432E8C
triadic
#2E488C #8C2E48 #488C2E
tetradic
#2E488C #8C2E77 #8C722E #2E8C43
square
#2E488C #8C2E77 #8C722E #2E8C43
split-complementary
#2E488C #8C432E #778C2E
monochromatic
#101930 #1F305E #2E488C #3D60BA #6783CD

Accessibility & contrast

On white

8.67
#2E488C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#2E488C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E488C
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E488C#FFFFFF#000000##FFFFFF
##2E488C1.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25508F
Deuteranopia (green-blind)
#12478B
Tritanopia (blue-blind)
#005863
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2e488c;
/* rgb */ color: rgb(46, 72, 140);
/* oklch */ color: oklch(41.9% 0.117 265.8);
Tailwind
colors: {
  custom: {
    50: '#717aae',
    500: '#2e488c',
    950: '#000000',
  },
}
SCSS
$custom: #2e488c;
$custom-light: #717aae;
$custom-dark: #000000;
JSON
{
  "hex": "#2e488c",
  "rgb": {
    "r": 46,
    "g": 72,
    "b": 140
  },
  "hsl": {
    "h": 223.404,
    "s": 50.538,
    "l": 36.471
  },
  "oklch": {
    "l": 0.41902,
    "c": 0.11717,
    "h": 265.8
  },
  "luminance": 0.07109
}

Semantic roles & 50–950 ramp

primary
#2E488C
secondary
#B49D62
accent
#B34EDA
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2E488C

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

Preview Lab → · Contrast checker → · Palette generator →

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