#231B68#231B68

#231B68 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.0% C 0.128 H 279.5°. Best body text is #FFFFFF at 14.70:1 contrast (WCAG AA passes).

Color values

HEX#231B68
RGBrgb(35, 27, 104)
HSLhsl(246, 59%, 26%)
HSVhsv(246, 74%, 41%)
CMYKcmyk(66.3%, 74%, 0%, 59.2%)
CIE-LABlab(16.21, 28.83, -43.75)
CIE-LCHlch(16.21, 52.39, 303.38°)
OKLaboklab(29% 0.0211 -0.1262)
OKLCHoklch(29% 0.128 279.5)
XYZxyz(3.5830, 2.1404, 13.3183)
Luminance0.0214 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231B68 #60681B
analogous
#1B3968 #231B68 #491B68
triadic
#231B68 #68231B #1B6823
tetradic
#231B68 #681B39 #60681B #1B6849
square
#231B68 #681B39 #60681B #1B6849
split-complementary
#231B68 #68491B #39681B
monochromatic
#080618 #130E37 #231B68 #332899 #4434C9

Accessibility & contrast

On white

14.70
#231B68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#231B68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231B68
14.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231B68#FFFFFF#000000##FFFFFF
##231B681.0014.701.4314.70
#FFFFFF14.701.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B6A
Deuteranopia (green-blind)
#002567
Tritanopia (blue-blind)
#00303F
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #231b68;
/* rgb */ color: rgb(35, 27, 104);
/* oklch */ color: oklch(29.0% 0.128 279.5);
Tailwind
colors: {
  custom: {
    50: '#685894',
    500: '#231b68',
    950: '#000000',
  },
}
SCSS
$custom: #231b68;
$custom-light: #685894;
$custom-dark: #000000;
JSON
{
  "hex": "#231b68",
  "rgb": {
    "r": 35,
    "g": 27,
    "b": 104
  },
  "hsl": {
    "h": 246.234,
    "s": 58.779,
    "l": 25.686
  },
  "oklch": {
    "l": 0.29,
    "c": 0.12794,
    "h": 279.5
  },
  "luminance": 0.02141
}

Semantic roles & 50–950 ramp

primary
#231B68
secondary
#949D42
accent
#E246D2
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#07030D
muted
#7A787E

Preview Lab

Preview with #231B68

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

Preview Lab → · Contrast checker → · Palette generator →

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