#2E498A#2E498A

#2E498A is a dark, moderate blue. Relative luminance 0.072; OKLCH L 42.0% C 0.113 H 265.0°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#2E498A
RGBrgb(46, 73, 138)
HSLhsl(222, 50%, 36%)
HSVhsv(222, 67%, 54%)
CMYKcmyk(66.7%, 47.1%, 0%, 45.9%)
CIE-LABlab(32.21, 12.17, -39.34)
CIE-LCHlch(32.21, 41.18, 287.19°)
OKLaboklab(41.98% -0.0099 -0.1125)
OKLCHoklch(41.98% 0.113 265)
XYZxyz(8.0951, 7.1802, 24.9991)
Luminance0.0718 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E498A #8A6F2E
analogous
#2E778A #2E498A #412E8A
triadic
#2E498A #8A2E49 #498A2E
tetradic
#2E498A #8A2E77 #8A6F2E #2E8A41
square
#2E498A #8A2E77 #8A6F2E #2E8A41
split-complementary
#2E498A #8A412E #778A2E
monochromatic
#0F182E #1F315C #2E498A #3D61B8 #6684CC

Accessibility & contrast

On white

8.62
#2E498A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#2E498A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E498A
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E498A#FFFFFF#000000##FFFFFF
##2E498A1.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29508C
Deuteranopia (green-blind)
#194889
Tritanopia (blue-blind)
#005862
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2e498a;
/* rgb */ color: rgb(46, 73, 138);
/* oklch */ color: oklch(42.0% 0.113 265.0);
Tailwind
colors: {
  custom: {
    50: '#717bac',
    500: '#2e498a',
    950: '#000000',
  },
}
SCSS
$custom: #2e498a;
$custom-light: #717bac;
$custom-dark: #000000;
JSON
{
  "hex": "#2e498a",
  "rgb": {
    "r": 46,
    "g": 73,
    "b": 138
  },
  "hsl": {
    "h": 222.391,
    "s": 50,
    "l": 36.078
  },
  "oklch": {
    "l": 0.41984,
    "c": 0.1129,
    "h": 265
  },
  "luminance": 0.07181
}

Semantic roles & 50–950 ramp

primary
#2E498A
secondary
#B39B61
accent
#B14EDA
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2E498A

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

Preview Lab → · Contrast checker → · Palette generator →

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