#231E6F#231E6F

#231E6F is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.2% C 0.134 H 277.5°. Best body text is #FFFFFF at 14.12:1 contrast (WCAG AA passes).

Color values

HEX#231E6F
RGBrgb(35, 30, 111)
HSLhsl(244, 57%, 28%)
HSVhsv(244, 73%, 44%)
CMYKcmyk(68.5%, 73%, 0%, 56.5%)
CIE-LABlab(17.61, 29.40, -46.01)
CIE-LCHlch(17.61, 54.60, 302.58°)
OKLaboklab(30.23% 0.0174 -0.1328)
OKLCHoklch(30.23% 0.134 277.5)
XYZxyz(4.0257, 2.4332, 15.2934)
Luminance0.0243 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231E6F #6A6F1E
analogous
#1E416F #231E6F #4C1E6F
triadic
#231E6F #6F231E #1E6F23
tetradic
#231E6F #6F1E41 #6A6F1E #1E6F4C
square
#231E6F #6F1E41 #6A6F1E #1E6F4C
split-complementary
#231E6F #6F4C1E #416F1E
monochromatic
#080718 #14113F #231E6F #322B9F #463DCB

Accessibility & contrast

On white

14.12
#231E6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#231E6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231E6F
14.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231E6F#FFFFFF#000000##FFFFFF
##231E6F1.0014.121.4914.12
#FFFFFF14.121.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F71
Deuteranopia (green-blind)
#00286D
Tritanopia (blue-blind)
#003444
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #231e6f;
/* rgb */ color: rgb(35, 30, 111);
/* oklch */ color: oklch(30.2% 0.134 277.5);
Tailwind
colors: {
  custom: {
    50: '#695b99',
    500: '#231e6f',
    950: '#000000',
  },
}
SCSS
$custom: #231e6f;
$custom-light: #695b99;
$custom-dark: #000000;
JSON
{
  "hex": "#231e6f",
  "rgb": {
    "r": 35,
    "g": 30,
    "b": 111
  },
  "hsl": {
    "h": 243.704,
    "s": 57.447,
    "l": 27.647
  },
  "oklch": {
    "l": 0.30225,
    "c": 0.13394,
    "h": 277.5
  },
  "luminance": 0.02434
}

Semantic roles & 50–950 ramp

primary
#231E6F
secondary
#9DA346
accent
#E147D7
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #231E6F

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

Preview Lab → · Contrast checker → · Palette generator →

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