#231A74#231A74

#231A74 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.1% C 0.145 H 277.6°. Best body text is #FFFFFF at 14.27:1 contrast (WCAG AA passes).

Color values

HEX#231A74
RGBrgb(35, 26, 116)
HSLhsl(246, 63%, 28%)
HSVhsv(246, 78%, 45%)
CMYKcmyk(69.8%, 77.6%, 0%, 54.5%)
CIE-LABlab(17.26, 33.61, -49.83)
CIE-LCHlch(17.26, 60.10, 304.00°)
OKLaboklab(30.13% 0.0192 -0.1439)
OKLCHoklch(30.13% 0.145 277.6)
XYZxyz(4.2139, 2.3567, 16.7524)
Luminance0.0236 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231A74 #6B741A
analogous
#1A3E74 #231A74 #501A74
triadic
#231A74 #74231A #1A7423
tetradic
#231A74 #741A3E #6B741A #1A7450
square
#231A74 #741A3E #6B741A #1A7450
split-complementary
#231A74 #74501A #3E741A
monochromatic
#080619 #140F42 #231A74 #3225A6 #4636D2

Accessibility & contrast

On white

14.27
#231A74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#231A74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231A74
14.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231A74#FFFFFF#000000##FFFFFF
##231A741.0014.271.4714.27
#FFFFFF14.271.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E77
Deuteranopia (green-blind)
#002772
Tritanopia (blue-blind)
#003445
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #231a74;
/* rgb */ color: rgb(35, 26, 116);
/* oklch */ color: oklch(30.1% 0.145 277.6);
Tailwind
colors: {
  custom: {
    50: '#6b589d',
    500: '#231a74',
    950: '#000000',
  },
}
SCSS
$custom: #231a74;
$custom-light: #6b589d;
$custom-dark: #000000;
JSON
{
  "hex": "#231a74",
  "rgb": {
    "r": 35,
    "g": 26,
    "b": 116
  },
  "hsl": {
    "h": 246,
    "s": 63.38,
    "l": 27.843
  },
  "oklch": {
    "l": 0.3013,
    "c": 0.14522,
    "h": 277.6
  },
  "luminance": 0.02357
}

Semantic roles & 50–950 ramp

primary
#231A74
secondary
#9EA941
accent
#E641D6
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #231A74

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

Preview Lab → · Contrast checker → · Palette generator →

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