#2E306D#2E306D

#2E306D is a dark, moderate blue. Relative luminance 0.038; OKLCH L 34.3% C 0.104 H 278.0°. Best body text is #FFFFFF at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#2E306D
RGBrgb(46, 48, 109)
HSLhsl(238, 41%, 30%)
HSVhsv(238, 58%, 43%)
CMYKcmyk(57.8%, 56%, 0%, 57.3%)
CIE-LABlab(22.99, 18.56, -35.92)
CIE-LCHlch(22.99, 40.43, 297.32°)
OKLaboklab(34.35% 0.0145 -0.1027)
OKLCHoklch(34.35% 0.104 278)
XYZxyz(4.9431, 3.7985, 14.9378)
Luminance0.0380 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E306D #6D6B2E
analogous
#2E4F6D #2E306D #4B2E6D
triadic
#2E306D #6D2E30 #306D2E
tetradic
#2E306D #6D2E4F #6D6B2E #2E6D4B
square
#2E306D #6D2E4F #6D6B2E #2E6D4B
split-complementary
#2E306D #6D4B2E #4F6D2E
monochromatic
#0A0A17 #1C1D42 #2E306D #404398 #5B5EBA

Accessibility & contrast

On white

11.93
#2E306D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E306D
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E306D#FFFFFF#000000##FFFFFF
##2E306D1.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D396F
Deuteranopia (green-blind)
#02346C
Tritanopia (blue-blind)
#0F3E49
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2e306d;
/* rgb */ color: rgb(46, 48, 109);
/* oklch */ color: oklch(34.3% 0.104 278.0);
Tailwind
colors: {
  custom: {
    50: '#6d6897',
    500: '#2e306d',
    950: '#000000',
  },
}
SCSS
$custom: #2e306d;
$custom-light: #6d6897;
$custom-dark: #000000;
JSON
{
  "hex": "#2e306d",
  "rgb": {
    "r": 46,
    "g": 48,
    "b": 109
  },
  "hsl": {
    "h": 238.095,
    "s": 40.645,
    "l": 30.392
  },
  "oklch": {
    "l": 0.34349,
    "c": 0.10374,
    "h": 278
  },
  "luminance": 0.03799
}

Semantic roles & 50–950 ramp

primary
#2E306D
secondary
#9F9C58
accent
#CD57D0
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060D
muted
#7A7A7E

Preview Lab

Preview with #2E306D

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

Preview Lab → · Contrast checker → · Palette generator →

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