#231B67#231B67

#231B67 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 28.9% C 0.127 H 279.7°. Best body text is #FFFFFF at 14.75:1 contrast (WCAG AA passes).

Color values

HEX#231B67
RGBrgb(35, 27, 103)
HSLhsl(246, 58%, 25%)
HSVhsv(246, 74%, 40%)
CMYKcmyk(66%, 73.8%, 0%, 59.6%)
CIE-LABlab(16.11, 28.47, -43.26)
CIE-LCHlch(16.11, 51.79, 303.35°)
OKLaboklab(28.9% 0.0213 -0.1247)
OKLCHoklch(28.9% 0.127 279.7)
XYZxyz(3.5325, 2.1202, 13.0524)
Luminance0.0212 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231B67 #5F671B
analogous
#1B3967 #231B67 #491B67
triadic
#231B67 #67231B #1B6723
tetradic
#231B67 #671B39 #5F671B #1B6749
square
#231B67 #671B39 #5F671B #1B6749
split-complementary
#231B67 #67491B #39671B
monochromatic
#080618 #130E37 #231B67 #332897 #4434C8

Accessibility & contrast

On white

14.75
#231B67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#231B67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231B67
14.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231B67#FFFFFF#000000##FFFFFF
##231B671.0014.751.4214.75
#FFFFFF14.751.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B69
Deuteranopia (green-blind)
#002566
Tritanopia (blue-blind)
#002F3E
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #231b67;
/* rgb */ color: rgb(35, 27, 103);
/* oklch */ color: oklch(28.9% 0.127 279.7);
Tailwind
colors: {
  custom: {
    50: '#685893',
    500: '#231b67',
    950: '#000000',
  },
}
SCSS
$custom: #231b67;
$custom-light: #685893;
$custom-dark: #000000;
JSON
{
  "hex": "#231b67",
  "rgb": {
    "r": 35,
    "g": 27,
    "b": 103
  },
  "hsl": {
    "h": 246.316,
    "s": 58.462,
    "l": 25.49
  },
  "oklch": {
    "l": 0.28896,
    "c": 0.12655,
    "h": 279.7
  },
  "luminance": 0.0212
}

Semantic roles & 50–950 ramp

primary
#231B67
secondary
#939C42
accent
#E246D1
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#07030D
muted
#7A787E

Preview Lab

Preview with #231B67

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

Preview Lab → · Contrast checker → · Palette generator →

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