#2E498F#2E498F

#2E498F is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.3% C 0.120 H 265.7°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#2E498F
RGBrgb(46, 73, 143)
HSLhsl(223, 51%, 37%)
HSVhsv(223, 68%, 56%)
CMYKcmyk(67.8%, 49%, 0%, 43.9%)
CIE-LABlab(32.54, 14.06, -41.88)
CIE-LCHlch(32.54, 44.17, 288.55°)
OKLaboklab(42.34% -0.0091 -0.1199)
OKLCHoklch(42.34% 0.12 265.7)
XYZxyz(8.4655, 7.3283, 26.9496)
Luminance0.0733 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E498F #8F742E
analogous
#2E7A8F #2E498F #442E8F
triadic
#2E498F #8F2E49 #498F2E
tetradic
#2E498F #8F2E7A #8F742E #2E8F44
square
#2E498F #8F2E7A #8F742E #2E8F44
split-complementary
#2E498F #8F442E #7A8F2E
monochromatic
#101A32 #1F3161 #2E498F #3D61BD #6985CF

Accessibility & contrast

On white

8.52
#2E498F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#2E498F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E498F
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E498F#FFFFFF#000000##FFFFFF
##2E498F1.008.522.478.52
#FFFFFF8.521.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245192
Deuteranopia (green-blind)
#0F488E
Tritanopia (blue-blind)
#005965
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2e498f;
/* rgb */ color: rgb(46, 73, 143);
/* oklch */ color: oklch(42.3% 0.120 265.7);
Tailwind
colors: {
  custom: {
    50: '#727bb0',
    500: '#2e498f',
    950: '#000000',
  },
}
SCSS
$custom: #2e498f;
$custom-light: #727bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#2e498f",
  "rgb": {
    "r": 46,
    "g": 73,
    "b": 143
  },
  "hsl": {
    "h": 223.299,
    "s": 51.323,
    "l": 37.059
  },
  "oklch": {
    "l": 0.42342,
    "c": 0.12028,
    "h": 265.7
  },
  "luminance": 0.07329
}

Semantic roles & 50–950 ramp

primary
#2E498F
secondary
#B69F63
accent
#B34DDB
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#090910
muted
#7B7B7F

Preview Lab

Preview with #2E498F

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

Preview Lab → · Contrast checker → · Palette generator →

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