#231B65#231B65

#231B65 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 28.7% C 0.124 H 280.1°. Best body text is #FFFFFF at 14.83:1 contrast (WCAG AA passes).

Color values

HEX#231B65
RGBrgb(35, 27, 101)
HSLhsl(246, 58%, 25%)
HSVhsv(246, 73%, 40%)
CMYKcmyk(65.3%, 73.3%, 0%, 60.4%)
CIE-LABlab(15.90, 27.76, -42.27)
CIE-LCHlch(15.90, 50.58, 303.30°)
OKLaboklab(28.69% 0.0216 -0.1219)
OKLCHoklch(28.69% 0.124 280.1)
XYZxyz(3.4333, 2.0805, 12.5301)
Luminance0.0208 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231B65 #5D651B
analogous
#1B3865 #231B65 #481B65
triadic
#231B65 #65231B #1B6523
tetradic
#231B65 #651B38 #5D651B #1B6548
square
#231B65 #651B38 #5D651B #1B6548
split-complementary
#231B65 #65481B #38651B
monochromatic
#080618 #120E35 #231B65 #342895 #4435C6

Accessibility & contrast

On white

14.83
#231B65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #231B65
14.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231B65#FFFFFF#000000##FFFFFF
##231B651.0014.831.4214.83
#FFFFFF14.831.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A67
Deuteranopia (green-blind)
#002564
Tritanopia (blue-blind)
#002F3D
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #231b65;
/* rgb */ color: rgb(35, 27, 101);
/* oklch */ color: oklch(28.7% 0.124 280.1);
Tailwind
colors: {
  custom: {
    50: '#675892',
    500: '#231b65',
    950: '#000000',
  },
}
SCSS
$custom: #231b65;
$custom-light: #675892;
$custom-dark: #000000;
JSON
{
  "hex": "#231b65",
  "rgb": {
    "r": 35,
    "g": 27,
    "b": 101
  },
  "hsl": {
    "h": 246.486,
    "s": 57.813,
    "l": 25.098
  },
  "oklch": {
    "l": 0.2869,
    "c": 0.12376,
    "h": 280.1
  },
  "luminance": 0.02081
}

Semantic roles & 50–950 ramp

primary
#231B65
secondary
#919A41
accent
#E147D0
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#07030D
muted
#7A787E

Preview Lab

Preview with #231B65

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

Preview Lab → · Contrast checker → · Palette generator →

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