#2E498C#2E498C

#2E498C is a dark, moderate blue. Relative luminance 0.072; OKLCH L 42.1% C 0.116 H 265.3°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#2E498C
RGBrgb(46, 73, 140)
HSLhsl(223, 51%, 36%)
HSVhsv(223, 67%, 55%)
CMYKcmyk(67.1%, 47.9%, 0%, 45.1%)
CIE-LABlab(32.34, 12.92, -40.36)
CIE-LCHlch(32.34, 42.38, 287.76°)
OKLaboklab(42.13% -0.0096 -0.1155)
OKLCHoklch(42.13% 0.116 265.3)
XYZxyz(8.2412, 7.2386, 25.7687)
Luminance0.0724 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E498C #8C712E
analogous
#2E788C #2E498C #422E8C
triadic
#2E498C #8C2E49 #498C2E
tetradic
#2E498C #8C2E78 #8C712E #2E8C42
square
#2E498C #8C2E78 #8C712E #2E8C42
split-complementary
#2E498C #8C422E #788C2E
monochromatic
#101930 #1F315E #2E498C #3D61BA #6785CD

Accessibility & contrast

On white

8.58
#2E498C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#2E498C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E498C
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E498C#FFFFFF#000000##FFFFFF
##2E498C1.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27518E
Deuteranopia (green-blind)
#15488B
Tritanopia (blue-blind)
#005863
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2e498c;
/* rgb */ color: rgb(46, 73, 140);
/* oklch */ color: oklch(42.1% 0.116 265.3);
Tailwind
colors: {
  custom: {
    50: '#717bae',
    500: '#2e498c',
    950: '#000000',
  },
}
SCSS
$custom: #2e498c;
$custom-light: #717bae;
$custom-dark: #000000;
JSON
{
  "hex": "#2e498c",
  "rgb": {
    "r": 46,
    "g": 73,
    "b": 140
  },
  "hsl": {
    "h": 222.766,
    "s": 50.538,
    "l": 36.471
  },
  "oklch": {
    "l": 0.42126,
    "c": 0.11586,
    "h": 265.3
  },
  "luminance": 0.07239
}

Semantic roles & 50–950 ramp

primary
#2E498C
secondary
#B49C62
accent
#B24EDA
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2E498C

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

Preview Lab → · Contrast checker → · Palette generator →

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