#231B66#231B66

#231B66 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 28.8% C 0.125 H 279.9°. Best body text is #FFFFFF at 14.79:1 contrast (WCAG AA passes).

Color values

HEX#231B66
RGBrgb(35, 27, 102)
HSLhsl(246, 58%, 25%)
HSVhsv(246, 74%, 40%)
CMYKcmyk(65.7%, 73.5%, 0%, 60%)
CIE-LABlab(16.00, 28.12, -42.77)
CIE-LCHlch(16.00, 51.18, 303.32°)
OKLaboklab(28.79% 0.0215 -0.1233)
OKLCHoklch(28.79% 0.125 279.9)
XYZxyz(3.4826, 2.1002, 12.7897)
Luminance0.0210 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231B66 #5E661B
analogous
#1B3866 #231B66 #481B66
triadic
#231B66 #66231B #1B6623
tetradic
#231B66 #661B38 #5E661B #1B6648
square
#231B66 #661B38 #5E661B #1B6648
split-complementary
#231B66 #66481B #38661B
monochromatic
#080618 #120E36 #231B66 #342896 #4435C7

Accessibility & contrast

On white

14.79
#231B66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #231B66
14.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231B66#FFFFFF#000000##FFFFFF
##231B661.0014.791.4214.79
#FFFFFF14.791.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #231b66;
/* rgb */ color: rgb(35, 27, 102);
/* oklch */ color: oklch(28.8% 0.125 279.9);
Tailwind
colors: {
  custom: {
    50: '#675892',
    500: '#231b66',
    950: '#000000',
  },
}
SCSS
$custom: #231b66;
$custom-light: #675892;
$custom-dark: #000000;
JSON
{
  "hex": "#231b66",
  "rgb": {
    "r": 35,
    "g": 27,
    "b": 102
  },
  "hsl": {
    "h": 246.4,
    "s": 58.14,
    "l": 25.294
  },
  "oklch": {
    "l": 0.28792,
    "c": 0.12516,
    "h": 279.9
  },
  "luminance": 0.02101
}

Semantic roles & 50–950 ramp

primary
#231B66
secondary
#929B41
accent
#E146D1
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#07030D
muted
#7A787E

Preview Lab

Preview with #231B66

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

Preview Lab → · Contrast checker → · Palette generator →

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