#2E306A#2E306A

#2E306A is a dark, moderate blue. Relative luminance 0.037; OKLCH L 34.1% C 0.099 H 278.3°. Best body text is #FFFFFF at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#2E306A
RGBrgb(46, 48, 106)
HSLhsl(238, 39%, 30%)
HSVhsv(238, 57%, 42%)
CMYKcmyk(56.6%, 54.7%, 0%, 58.4%)
CIE-LABlab(22.78, 17.48, -34.33)
CIE-LCHlch(22.78, 38.53, 296.98°)
OKLaboklab(34.12% 0.0143 -0.0981)
OKLCHoklch(34.12% 0.099 278.3)
XYZxyz(4.7844, 3.7351, 14.1017)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E306A #6A682E
analogous
#2E4E6A #2E306A #4A2E6A
triadic
#2E306A #6A2E30 #306A2E
tetradic
#2E306A #6A2E4E #6A682E #2E6A4A
square
#2E306A #6A2E4E #6A682E #2E6A4A
split-complementary
#2E306A #6A4A2E #4E6A2E
monochromatic
#090A15 #1B1D3F #2E306A #414395 #5B5EB8

Accessibility & contrast

On white

12.02
#2E306A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#2E306A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E306A
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E306A#FFFFFF#000000##FFFFFF
##2E306A1.0012.021.7512.02
#FFFFFF12.021.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11396C
Deuteranopia (green-blind)
#093469
Tritanopia (blue-blind)
#123D48
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2e306a;
/* rgb */ color: rgb(46, 48, 106);
/* oklch */ color: oklch(34.1% 0.099 278.3);
Tailwind
colors: {
  custom: {
    50: '#6c6895',
    500: '#2e306a',
    950: '#000000',
  },
}
SCSS
$custom: #2e306a;
$custom-light: #6c6895;
$custom-dark: #000000;
JSON
{
  "hex": "#2e306a",
  "rgb": {
    "r": 46,
    "g": 48,
    "b": 106
  },
  "hsl": {
    "h": 238,
    "s": 39.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.34115,
    "c": 0.0991,
    "h": 278.3
  },
  "luminance": 0.03735
}

Semantic roles & 50–950 ramp

primary
#2E306A
secondary
#9C9958
accent
#CB58CF
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060D
muted
#7A7A7E

Preview Lab

Preview with #2E306A

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

Preview Lab → · Contrast checker → · Palette generator →

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