#231B6F#231B6F

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

Color values

HEX#231B6F
RGBrgb(35, 27, 111)
HSLhsl(246, 61%, 27%)
HSVhsv(246, 76%, 44%)
CMYKcmyk(68.5%, 75.7%, 0%, 56.5%)
CIE-LABlab(16.93, 31.28, -47.12)
CIE-LCHlch(16.93, 56.56, 303.58°)
OKLaboklab(29.74% 0.0197 -0.1361)
OKLCHoklch(29.74% 0.137 278.2)
XYZxyz(3.9534, 2.2886, 15.2692)
Luminance0.0229 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231B6F #676F1B
analogous
#1B3D6F #231B6F #4D1B6F
triadic
#231B6F #6F231B #1B6F23
tetradic
#231B6F #6F1B3D #676F1B #1B6F4D
square
#231B6F #6F1B3D #676F1B #1B6F4D
split-complementary
#231B6F #6F4D1B #3D6F1B
monochromatic
#080619 #130F3E #231B6F #3327A0 #4536CE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##231B6F#FFFFFF#000000##FFFFFF
##231B6F1.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)
#002D71
Deuteranopia (green-blind)
#00266D
Tritanopia (blue-blind)
#003243
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #231b6f;
/* rgb */ color: rgb(35, 27, 111);
/* oklch */ color: oklch(29.7% 0.137 278.2);
Tailwind
colors: {
  custom: {
    50: '#695999',
    500: '#231b6f',
    950: '#000000',
  },
}
SCSS
$custom: #231b6f;
$custom-light: #695999;
$custom-dark: #000000;
JSON
{
  "hex": "#231b6f",
  "rgb": {
    "r": 35,
    "g": 27,
    "b": 111
  },
  "hsl": {
    "h": 245.714,
    "s": 60.87,
    "l": 27.059
  },
  "oklch": {
    "l": 0.29739,
    "c": 0.13748,
    "h": 278.2
  },
  "luminance": 0.02289
}

Semantic roles & 50–950 ramp

primary
#231B6F
secondary
#9BA442
accent
#E444D5
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #231B6F

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

Preview Lab → · Contrast checker → · Palette generator →

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