#231F70#231F70

#231F70 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.5% C 0.134 H 277.1°. Best body text is #FFFFFF at 13.99:1 contrast (WCAG AA passes).

Color values

HEX#231F70
RGBrgb(35, 31, 112)
HSLhsl(243, 57%, 28%)
HSVhsv(243, 72%, 44%)
CMYKcmyk(68.8%, 72.3%, 0%, 56.1%)
CIE-LABlab(17.95, 29.12, -46.11)
CIE-LCHlch(17.95, 54.53, 302.28°)
OKLaboklab(30.5% 0.0165 -0.1331)
OKLCHoklch(30.5% 0.134 277.1)
XYZxyz(4.1068, 2.5068, 15.5935)
Luminance0.0251 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231F70 #6C701F
analogous
#1F4370 #231F70 #4B1F70
triadic
#231F70 #70231F #1F7023
tetradic
#231F70 #701F43 #6C701F #1F704B
square
#231F70 #701F43 #6C701F #1F704B
split-complementary
#231F70 #704B1F #43701F
monochromatic
#070718 #141240 #231F70 #322CA0 #463FCA

Accessibility & contrast

On white

13.99
#231F70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#231F70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231F70
13.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231F70#FFFFFF#000000##FFFFFF
##231F701.0013.991.5013.99
#FFFFFF13.991.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F72
Deuteranopia (green-blind)
#00286E
Tritanopia (blue-blind)
#003545
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #231f70;
/* rgb */ color: rgb(35, 31, 112);
/* oklch */ color: oklch(30.5% 0.134 277.1);
Tailwind
colors: {
  custom: {
    50: '#695b9a',
    500: '#231f70',
    950: '#000000',
  },
}
SCSS
$custom: #231f70;
$custom-light: #695b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#231f70",
  "rgb": {
    "r": 35,
    "g": 31,
    "b": 112
  },
  "hsl": {
    "h": 242.963,
    "s": 56.643,
    "l": 28.039
  },
  "oklch": {
    "l": 0.30496,
    "c": 0.1341,
    "h": 277.1
  },
  "luminance": 0.02507
}

Semantic roles & 50–950 ramp

primary
#231F70
secondary
#9FA447
accent
#E048D8
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #231F70

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

Preview Lab → · Contrast checker → · Palette generator →

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