#231B70#231B70

#231B70 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.8% C 0.139 H 278.1°. Best body text is #FFFFFF at 14.36:1 contrast (WCAG AA passes).

Color values

HEX#231B70
RGBrgb(35, 27, 112)
HSLhsl(246, 61%, 27%)
HSVhsv(246, 76%, 44%)
CMYKcmyk(68.8%, 75.9%, 0%, 56.1%)
CIE-LABlab(17.04, 31.63, -47.60)
CIE-LCHlch(17.04, 57.15, 303.61°)
OKLaboklab(29.85% 0.0195 -0.1374)
OKLCHoklch(29.85% 0.139 278.1)
XYZxyz(4.0088, 2.3107, 15.5608)
Luminance0.0231 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231B70 #68701B
analogous
#1B3E70 #231B70 #4E1B70
triadic
#231B70 #70231B #1B7023
tetradic
#231B70 #701B3E #68701B #1B704E
square
#231B70 #701B3E #68701B #1B704E
split-complementary
#231B70 #704E1B #3E701B
monochromatic
#080619 #140F3F #231B70 #3227A1 #4537CF

Accessibility & contrast

On white

14.36
#231B70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #231B70
14.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231B70#FFFFFF#000000##FFFFFF
##231B701.0014.361.4614.36
#FFFFFF14.361.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D73
Deuteranopia (green-blind)
#00266E
Tritanopia (blue-blind)
#003343
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #231b70;
/* rgb */ color: rgb(35, 27, 112);
/* oklch */ color: oklch(29.8% 0.139 278.1);
Tailwind
colors: {
  custom: {
    50: '#6a599a',
    500: '#231b70',
    950: '#000000',
  },
}
SCSS
$custom: #231b70;
$custom-light: #6a599a;
$custom-dark: #000000;
JSON
{
  "hex": "#231b70",
  "rgb": {
    "r": 35,
    "g": 27,
    "b": 112
  },
  "hsl": {
    "h": 245.647,
    "s": 61.151,
    "l": 27.255
  },
  "oklch": {
    "l": 0.29846,
    "c": 0.13881,
    "h": 278.1
  },
  "luminance": 0.02311
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #231B70

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

Preview Lab → · Contrast checker → · Palette generator →

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