#2E3E8F#2E3E8F

#2E3E8F is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.0% C 0.135 H 270.7°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#2E3E8F
RGBrgb(46, 62, 143)
HSLhsl(230, 51%, 37%)
HSVhsv(230, 68%, 56%)
CMYKcmyk(67.8%, 56.6%, 0%, 43.9%)
CIE-LABlab(29.43, 21.50, -46.90)
CIE-LCHlch(29.43, 51.59, 294.63°)
OKLaboklab(39.99% 0.0016 -0.1349)
OKLCHoklch(39.99% 0.135 270.7)
XYZxyz(7.8056, 6.0085, 26.7297)
Luminance0.0601 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3E8F #8F7F2E
analogous
#2E6F8F #2E3E8F #4F2E8F
triadic
#2E3E8F #8F2E3E #3E8F2E
tetradic
#2E3E8F #8F2E6F #8F7F2E #2E8F4F
square
#2E3E8F #8F2E6F #8F7F2E #2E8F4F
split-complementary
#2E3E8F #8F4F2E #6F8F2E
monochromatic
#101632 #1F2A61 #2E3E8F #3D52BD #697ACF

Accessibility & contrast

On white

9.54
#2E3E8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#2E3E8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3E8F
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3E8F#FFFFFF#000000##FFFFFF
##2E3E8F1.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A92
Deuteranopia (green-blind)
#00418D
Tritanopia (blue-blind)
#005160
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2e3e8f;
/* rgb */ color: rgb(46, 62, 143);
/* oklch */ color: oklch(40.0% 0.135 270.7);
Tailwind
colors: {
  custom: {
    50: '#7373b0',
    500: '#2e3e8f',
    950: '#000000',
  },
}
SCSS
$custom: #2e3e8f;
$custom-light: #7373b0;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3e8f",
  "rgb": {
    "r": 46,
    "g": 62,
    "b": 143
  },
  "hsl": {
    "h": 230.103,
    "s": 51.323,
    "l": 37.059
  },
  "oklch": {
    "l": 0.39988,
    "c": 0.13487,
    "h": 270.7
  },
  "luminance": 0.06009
}

Semantic roles & 50–950 ramp

primary
#2E3E8F
secondary
#B6A863
accent
#C34DDB
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2E3E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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