#2E306E#2E306E

#2E306E is a dark, moderate blue. Relative luminance 0.038; OKLCH L 34.4% C 0.105 H 277.9°. Best body text is #FFFFFF at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#2E306E
RGBrgb(46, 48, 110)
HSLhsl(238, 41%, 31%)
HSVhsv(238, 58%, 43%)
CMYKcmyk(58.2%, 56.4%, 0%, 56.9%)
CIE-LABlab(23.07, 18.92, -36.44)
CIE-LCHlch(23.07, 41.06, 297.43°)
OKLaboklab(34.43% 0.0145 -0.1043)
OKLCHoklch(34.43% 0.105 277.9)
XYZxyz(4.9972, 3.8202, 15.2229)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E306E #6E6C2E
analogous
#2E506E #2E306E #4C2E6E
triadic
#2E306E #6E2E30 #306E2E
tetradic
#2E306E #6E2E50 #6E6C2E #2E6E4C
square
#2E306E #6E2E50 #6E6C2E #2E6E4C
split-complementary
#2E306E #6E4C2E #506E2E
monochromatic
#0A0A18 #1C1D43 #2E306E #404399 #5C5FBB

Accessibility & contrast

On white

11.90
#2E306E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#2E306E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E306E
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E306E#FFFFFF#000000##FFFFFF
##2E306E1.0011.901.7611.90
#FFFFFF11.901.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B3A70
Deuteranopia (green-blind)
#00346D
Tritanopia (blue-blind)
#0D3E4A
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2e306e;
/* rgb */ color: rgb(46, 48, 110);
/* oklch */ color: oklch(34.4% 0.105 277.9);
Tailwind
colors: {
  custom: {
    50: '#6d6898',
    500: '#2e306e',
    950: '#000000',
  },
}
SCSS
$custom: #2e306e;
$custom-light: #6d6898;
$custom-dark: #000000;
JSON
{
  "hex": "#2e306e",
  "rgb": {
    "r": 46,
    "g": 48,
    "b": 110
  },
  "hsl": {
    "h": 238.125,
    "s": 41.026,
    "l": 30.588
  },
  "oklch": {
    "l": 0.34428,
    "c": 0.10528,
    "h": 277.9
  },
  "luminance": 0.03821
}

Semantic roles & 50–950 ramp

primary
#2E306E
secondary
#9F9D58
accent
#CD57D1
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #2E306E

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

Preview Lab → · Contrast checker → · Palette generator →

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