#2E4E8C#2E4E8C

#2E4E8C is a dark, moderate blue. Relative luminance 0.079; OKLCH L 43.3% C 0.109 H 262.2°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#2E4E8C
RGBrgb(46, 78, 140)
HSLhsl(220, 51%, 36%)
HSVhsv(220, 67%, 55%)
CMYKcmyk(67.1%, 44.3%, 0%, 45.1%)
CIE-LABlab(33.82, 9.58, -38.00)
CIE-LCHlch(33.82, 39.18, 284.15°)
OKLaboklab(43.26% -0.0148 -0.1084)
OKLCHoklch(43.26% 0.109 262.2)
XYZxyz(8.5831, 7.9222, 25.8827)
Luminance0.0792 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4E8C #8C6C2E
analogous
#2E7D8C #2E4E8C #3D2E8C
triadic
#2E4E8C #8C2E4E #4E8C2E
tetradic
#2E4E8C #8C2E7D #8C6C2E #2E8C3D
square
#2E4E8C #8C2E7D #8C6C2E #2E8C3D
split-complementary
#2E4E8C #8C3D2E #7D8C2E
monochromatic
#101B30 #1F345E #2E4E8C #3D68BA #678ACD

Accessibility & contrast

On white

8.13
#2E4E8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#2E4E8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4E8C
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4E8C#FFFFFF#000000##FFFFFF
##2E4E8C1.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31548E
Deuteranopia (green-blind)
#224C8B
Tritanopia (blue-blind)
#005C66
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2e4e8c;
/* rgb */ color: rgb(46, 78, 140);
/* oklch */ color: oklch(43.3% 0.109 262.2);
Tailwind
colors: {
  custom: {
    50: '#717fae',
    500: '#2e4e8c',
    950: '#000000',
  },
}
SCSS
$custom: #2e4e8c;
$custom-light: #717fae;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4e8c",
  "rgb": {
    "r": 46,
    "g": 78,
    "b": 140
  },
  "hsl": {
    "h": 219.574,
    "s": 50.538,
    "l": 36.471
  },
  "oklch": {
    "l": 0.4326,
    "c": 0.10944,
    "h": 262.2
  },
  "luminance": 0.07923
}

Semantic roles & 50–950 ramp

primary
#2E4E8C
secondary
#B49862
accent
#AA4EDA
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2E4E8C

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

Preview Lab → · Contrast checker → · Palette generator →

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