#231E68#231E68

#231E68 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.5% C 0.124 H 278.6°. Best body text is #FFFFFF at 14.41:1 contrast (WCAG AA passes).

Color values

HEX#231E68
RGBrgb(35, 30, 104)
HSLhsl(244, 55%, 26%)
HSVhsv(244, 71%, 41%)
CMYKcmyk(66.3%, 71.2%, 0%, 59.2%)
CIE-LABlab(16.92, 26.89, -42.59)
CIE-LCHlch(16.92, 50.36, 302.27°)
OKLaboklab(29.51% 0.0185 -0.1228)
OKLCHoklch(29.51% 0.124 278.6)
XYZxyz(3.6553, 2.2851, 13.3425)
Luminance0.0228 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231E68 #63681E
analogous
#1E3E68 #231E68 #481E68
triadic
#231E68 #68231E #1E6823
tetradic
#231E68 #681E3E #63681E #1E6848
square
#231E68 #681E3E #63681E #1E6848
split-complementary
#231E68 #68481E #3E681E
monochromatic
#080718 #131039 #231E68 #332C98 #443AC6

Accessibility & contrast

On white

14.41
#231E68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#231E68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231E68
14.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231E68#FFFFFF#000000##FFFFFF
##231E681.0014.411.4614.41
#FFFFFF14.411.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D6A
Deuteranopia (green-blind)
#002767
Tritanopia (blue-blind)
#003140
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #231e68;
/* rgb */ color: rgb(35, 30, 104);
/* oklch */ color: oklch(29.5% 0.124 278.6);
Tailwind
colors: {
  custom: {
    50: '#675a94',
    500: '#231e68',
    950: '#000000',
  },
}
SCSS
$custom: #231e68;
$custom-light: #675a94;
$custom-dark: #000000;
JSON
{
  "hex": "#231e68",
  "rgb": {
    "r": 35,
    "g": 30,
    "b": 104
  },
  "hsl": {
    "h": 244.054,
    "s": 55.224,
    "l": 26.275
  },
  "oklch": {
    "l": 0.2951,
    "c": 0.12417,
    "h": 278.6
  },
  "luminance": 0.02285
}

Semantic roles & 50–950 ramp

primary
#231E68
secondary
#979D45
accent
#DF49D4
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#07040D
muted
#7A797E

Preview Lab

Preview with #231E68

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

Preview Lab → · Contrast checker → · Palette generator →

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