#2E4273#2E4273

#2E4273 is a dark, moderate blue. Relative luminance 0.057; OKLCH L 38.8% C 0.087 H 265.8°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#2E4273
RGBrgb(46, 66, 115)
HSLhsl(223, 43%, 32%)
HSVhsv(223, 60%, 45%)
CMYKcmyk(60%, 42.6%, 0%, 54.9%)
CIE-LABlab(28.68, 8.34, -30.65)
CIE-LCHlch(28.68, 31.76, 285.23°)
OKLaboklab(38.8% -0.0065 -0.087)
OKLCHoklch(38.8% 0.087 265.8)
XYZxyz(6.1684, 5.7146, 16.9943)
Luminance0.0571 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4273 #735F2E
analogous
#2E6573 #2E4273 #3D2E73
triadic
#2E4273 #732E42 #42732E
tetradic
#2E4273 #732E65 #735F2E #2E733D
square
#2E4273 #732E65 #735F2E #2E733D
split-complementary
#2E4273 #733D2E #65732E
monochromatic
#0B101C #1D2947 #2E4273 #3F5B9F #5D79BE

Accessibility & contrast

On white

9.80
#2E4273 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#2E4273 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4273
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4273#FFFFFF#000000##FFFFFF
##2E42731.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4775
Deuteranopia (green-blind)
#244172
Tritanopia (blue-blind)
#004D55
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2e4273;
/* rgb */ color: rgb(46, 66, 115);
/* oklch */ color: oklch(38.8% 0.087 265.8);
Tailwind
colors: {
  custom: {
    50: '#6d769b',
    500: '#2e4273',
    950: '#000000',
  },
}
SCSS
$custom: #2e4273;
$custom-light: #6d769b;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4273",
  "rgb": {
    "r": 46,
    "g": 66,
    "b": 115
  },
  "hsl": {
    "h": 222.609,
    "s": 42.857,
    "l": 31.569
  },
  "oklch": {
    "l": 0.38802,
    "c": 0.08728,
    "h": 265.8
  },
  "luminance": 0.05715
}

Semantic roles & 50–950 ramp

primary
#2E4273
secondary
#A48E58
accent
#AE55D3
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #2E4273

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

Preview Lab → · Contrast checker → · Palette generator →

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