#231E6C#231E6C

#231E6C is a dark, vivid blue. Relative luminance 0.024; OKLCH L 29.9% C 0.130 H 277.9°. Best body text is #FFFFFF at 14.25:1 contrast (WCAG AA passes).

Color values

HEX#231E6C
RGBrgb(35, 30, 108)
HSLhsl(244, 57%, 27%)
HSVhsv(244, 72%, 42%)
CMYKcmyk(67.6%, 72.2%, 0%, 57.6%)
CIE-LABlab(17.31, 28.33, -44.55)
CIE-LCHlch(17.31, 52.79, 302.45°)
OKLaboklab(29.92% 0.0179 -0.1285)
OKLCHoklch(29.92% 0.13 277.9)
XYZxyz(3.8633, 2.3683, 14.4380)
Luminance0.0237 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231E6C #676C1E
analogous
#1E406C #231E6C #4A1E6C
triadic
#231E6C #6C231E #1E6C23
tetradic
#231E6C #6C1E40 #676C1E #1E6C4A
square
#231E6C #6C1E40 #676C1E #1E6C4A
split-complementary
#231E6C #6C4A1E #406C1E
monochromatic
#080718 #13113C #231E6C #332B9C #453CC9

Accessibility & contrast

On white

14.25
#231E6C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #231E6C
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231E6C#FFFFFF#000000##FFFFFF
##231E6C1.0014.251.4714.25
#FFFFFF14.251.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6E
Deuteranopia (green-blind)
#00276B
Tritanopia (blue-blind)
#003342
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #231e6c;
/* rgb */ color: rgb(35, 30, 108);
/* oklch */ color: oklch(29.9% 0.130 277.9);
Tailwind
colors: {
  custom: {
    50: '#685a97',
    500: '#231e6c',
    950: '#000000',
  },
}
SCSS
$custom: #231e6c;
$custom-light: #685a97;
$custom-dark: #000000;
JSON
{
  "hex": "#231e6c",
  "rgb": {
    "r": 35,
    "g": 30,
    "b": 108
  },
  "hsl": {
    "h": 243.846,
    "s": 56.522,
    "l": 27.059
  },
  "oklch": {
    "l": 0.29916,
    "c": 0.12978,
    "h": 277.9
  },
  "luminance": 0.02369
}

Semantic roles & 50–950 ramp

primary
#231E6C
secondary
#9BA045
accent
#E048D6
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040D
muted
#7A797E

Preview Lab

Preview with #231E6C

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

Preview Lab → · Contrast checker → · Palette generator →

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