#231E6B#231E6B

#231E6B is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.8% C 0.128 H 278.1°. Best body text is #FFFFFF at 14.29:1 contrast (WCAG AA passes).

Color values

HEX#231E6B
RGBrgb(35, 30, 107)
HSLhsl(244, 56%, 27%)
HSVhsv(244, 72%, 42%)
CMYKcmyk(67.3%, 72%, 0%, 58%)
CIE-LABlab(17.21, 27.97, -44.06)
CIE-LCHlch(17.21, 52.19, 302.40°)
OKLaboklab(29.81% 0.0181 -0.1271)
OKLCHoklch(29.81% 0.128 278.1)
XYZxyz(3.8104, 2.3471, 14.1593)
Luminance0.0235 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231E6B #666B1E
analogous
#1E406B #231E6B #4A1E6B
triadic
#231E6B #6B231E #1E6B23
tetradic
#231E6B #6B1E40 #666B1E #1E6B4A
square
#231E6B #6B1E40 #666B1E #1E6B4A
split-complementary
#231E6B #6B4A1E #406B1E
monochromatic
#080718 #13113B #231E6B #332B9B #443BC8

Accessibility & contrast

On white

14.29
#231E6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#231E6B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231E6B
14.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231E6B#FFFFFF#000000##FFFFFF
##231E6B1.0014.291.4714.29
#FFFFFF14.291.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D6D
Deuteranopia (green-blind)
#00276A
Tritanopia (blue-blind)
#003242
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #231e6b;
/* rgb */ color: rgb(35, 30, 107);
/* oklch */ color: oklch(29.8% 0.128 278.1);
Tailwind
colors: {
  custom: {
    50: '#685a96',
    500: '#231e6b',
    950: '#000000',
  },
}
SCSS
$custom: #231e6b;
$custom-light: #685a96;
$custom-dark: #000000;
JSON
{
  "hex": "#231e6b",
  "rgb": {
    "r": 35,
    "g": 30,
    "b": 107
  },
  "hsl": {
    "h": 243.896,
    "s": 56.204,
    "l": 26.863
  },
  "oklch": {
    "l": 0.29813,
    "c": 0.12839,
    "h": 278.1
  },
  "luminance": 0.02347
}

Semantic roles & 50–950 ramp

primary
#231E6B
secondary
#9A9F45
accent
#DF48D6
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040D
muted
#7A797E

Preview Lab

Preview with #231E6B

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

Preview Lab → · Contrast checker → · Palette generator →

#231E6B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva