#2E347A#2E347A

#2E347A is a dark, moderate blue. Relative luminance 0.044; OKLCH L 36.2% C 0.118 H 275.2°. Best body text is #FFFFFF at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#2E347A
RGBrgb(46, 52, 122)
HSLhsl(235, 45%, 33%)
HSVhsv(235, 62%, 48%)
CMYKcmyk(62.3%, 57.4%, 0%, 52.2%)
CIE-LABlab(25.08, 20.53, -40.85)
CIE-LCHlch(25.08, 45.72, 296.68°)
OKLaboklab(36.22% 0.0106 -0.1172)
OKLCHoklch(36.22% 0.118 275.2)
XYZxyz(5.8664, 4.4415, 18.9567)
Luminance0.0444 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E347A #7A742E
analogous
#2E5A7A #2E347A #4E2E7A
triadic
#2E347A #7A2E34 #347A2E
tetradic
#2E347A #7A2E5A #7A742E #2E7A4E
square
#2E347A #7A2E5A #7A742E #2E7A4E
split-complementary
#2E347A #7A4E2E #5A7A2E
monochromatic
#0C0E21 #1D214E #2E347A #3F47A6 #6067C3

Accessibility & contrast

On white

11.12
#2E347A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#2E347A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E347A
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E347A#FFFFFF#000000##FFFFFF
##2E347A1.0011.121.8911.12
#FFFFFF11.121.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#013F7C
Deuteranopia (green-blind)
#003879
Tritanopia (blue-blind)
#004451
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2e347a;
/* rgb */ color: rgb(46, 52, 122);
/* oklch */ color: oklch(36.2% 0.118 275.2);
Tailwind
colors: {
  custom: {
    50: '#6f6ba1',
    500: '#2e347a',
    950: '#000000',
  },
}
SCSS
$custom: #2e347a;
$custom-light: #6f6ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e347a",
  "rgb": {
    "r": 46,
    "g": 52,
    "b": 122
  },
  "hsl": {
    "h": 235.263,
    "s": 45.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.3622,
    "c": 0.11767,
    "h": 275.2
  },
  "luminance": 0.04442
}

Semantic roles & 50–950 ramp

primary
#2E347A
secondary
#AAA35A
accent
#CB53D5
background
#F7F6FA
surface
#EDEBF3
border
#C8C6CD
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #2E347A

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

Preview Lab → · Contrast checker → · Palette generator →

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