#231F73#231F73

#231F73 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.8% C 0.138 H 276.6°. Best body text is #FFFFFF at 13.86:1 contrast (WCAG AA passes).

Color values

HEX#231F73
RGBrgb(35, 31, 115)
HSLhsl(243, 58%, 29%)
HSVhsv(243, 73%, 45%)
CMYKcmyk(69.6%, 73%, 0%, 54.9%)
CIE-LABlab(18.25, 30.19, -47.54)
CIE-LCHlch(18.25, 56.32, 302.42°)
OKLaboklab(30.81% 0.016 -0.1373)
OKLCHoklch(30.81% 0.138 276.6)
XYZxyz(4.2766, 2.5747, 16.4879)
Luminance0.0257 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231F73 #6F731F
analogous
#1F4573 #231F73 #4D1F73
triadic
#231F73 #73231F #1F7323
tetradic
#231F73 #731F45 #6F731F #1F734D
square
#231F73 #731F45 #6F731F #1F734D
split-complementary
#231F73 #734D1F #45731F
monochromatic
#070618 #141243 #231F73 #322CA3 #4741CC

Accessibility & contrast

On white

13.86
#231F73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#231F73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231F73
13.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231F73#FFFFFF#000000##FFFFFF
##231F731.0013.861.5213.86
#FFFFFF13.861.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003076
Deuteranopia (green-blind)
#002971
Tritanopia (blue-blind)
#003646
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #231f73;
/* rgb */ color: rgb(35, 31, 115);
/* oklch */ color: oklch(30.8% 0.138 276.6);
Tailwind
colors: {
  custom: {
    50: '#6a5b9c',
    500: '#231f73',
    950: '#000000',
  },
}
SCSS
$custom: #231f73;
$custom-light: #6a5b9c;
$custom-dark: #000000;
JSON
{
  "hex": "#231f73",
  "rgb": {
    "r": 35,
    "g": 31,
    "b": 115
  },
  "hsl": {
    "h": 242.857,
    "s": 57.534,
    "l": 28.627
  },
  "oklch": {
    "l": 0.30807,
    "c": 0.13822,
    "h": 276.6
  },
  "luminance": 0.02575
}

Semantic roles & 50–950 ramp

primary
#231F73
secondary
#A2A747
accent
#E147D9
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #231F73

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

Preview Lab → · Contrast checker → · Palette generator →

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