#231B6E#231B6E

#231B6E is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.6% C 0.136 H 278.4°. Best body text is #FFFFFF at 14.45:1 contrast (WCAG AA passes).

Color values

HEX#231B6E
RGBrgb(35, 27, 110)
HSLhsl(246, 61%, 27%)
HSVhsv(246, 75%, 43%)
CMYKcmyk(68.2%, 75.5%, 0%, 56.9%)
CIE-LABlab(16.83, 30.93, -46.65)
CIE-LCHlch(16.83, 55.97, 303.55°)
OKLaboklab(29.63% 0.0199 -0.1347)
OKLCHoklch(29.63% 0.136 278.4)
XYZxyz(3.8986, 2.2667, 14.9809)
Luminance0.0227 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231B6E #666E1B
analogous
#1B3D6E #231B6E #4D1B6E
triadic
#231B6E #6E231B #1B6E23
tetradic
#231B6E #6E1B3D #666E1B #1B6E4D
square
#231B6E #6E1B3D #666E1B #1B6E4D
split-complementary
#231B6E #6E4D1B #3D6E1B
monochromatic
#080619 #130F3D #231B6E #33279F #4436CE

Accessibility & contrast

On white

14.45
#231B6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#231B6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231B6E
14.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231B6E#FFFFFF#000000##FFFFFF
##231B6E1.0014.451.4514.45
#FFFFFF14.451.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D70
Deuteranopia (green-blind)
#00266C
Tritanopia (blue-blind)
#003242
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #231b6e;
/* rgb */ color: rgb(35, 27, 110);
/* oklch */ color: oklch(29.6% 0.136 278.4);
Tailwind
colors: {
  custom: {
    50: '#695898',
    500: '#231b6e',
    950: '#000000',
  },
}
SCSS
$custom: #231b6e;
$custom-light: #695898;
$custom-dark: #000000;
JSON
{
  "hex": "#231b6e",
  "rgb": {
    "r": 35,
    "g": 27,
    "b": 110
  },
  "hsl": {
    "h": 245.783,
    "s": 60.584,
    "l": 26.863
  },
  "oklch": {
    "l": 0.29632,
    "c": 0.13612,
    "h": 278.4
  },
  "luminance": 0.02267
}

Semantic roles & 50–950 ramp

primary
#231B6E
secondary
#9AA342
accent
#E444D4
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #231B6E

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

Preview Lab → · Contrast checker → · Palette generator →

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