#231A58#231A58

#231A58 is a dark, moderate blue. Relative luminance 0.018; OKLCH L 27.2% C 0.107 H 283.4°. Best body text is #FFFFFF at 15.44:1 contrast (WCAG AA passes).

Color values

HEX#231A58
RGBrgb(35, 26, 88)
HSLhsl(249, 54%, 22%)
HSVhsv(249, 70%, 35%)
CMYKcmyk(60.2%, 70.5%, 0%, 65.5%)
CIE-LABlab(14.40, 23.80, -36.07)
CIE-LCHlch(14.40, 43.21, 303.42°)
OKLaboklab(27.22% 0.0246 -0.1037)
OKLCHoklch(27.22% 0.107 283.4)
XYZxyz(2.8234, 1.8005, 9.4294)
Luminance0.0180 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231A58 #4F581A
analogous
#1A3058 #231A58 #421A58
triadic
#231A58 #58231A #1A5823
tetradic
#231A58 #581A30 #4F581A #1A5842
square
#231A58 #581A30 #4F581A #1A5842
split-complementary
#231A58 #58421A #30581A
monochromatic
#090718 #100C29 #231A58 #362887 #4936B6

Accessibility & contrast

On white

15.44
#231A58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#231A58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231A58
15.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231A58#FFFFFF#000000##FFFFFF
##231A581.0015.441.3615.44
#FFFFFF15.441.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265A
Deuteranopia (green-blind)
#002257
Tritanopia (blue-blind)
#092A36
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #231a58;
/* rgb */ color: rgb(35, 26, 88);
/* oklch */ color: oklch(27.2% 0.107 283.4);
Tailwind
colors: {
  custom: {
    50: '#645788',
    500: '#231a58',
    950: '#000000',
  },
}
SCSS
$custom: #231a58;
$custom-light: #645788;
$custom-dark: #000000;
JSON
{
  "hex": "#231a58",
  "rgb": {
    "r": 35,
    "g": 26,
    "b": 88
  },
  "hsl": {
    "h": 248.71,
    "s": 54.386,
    "l": 22.353
  },
  "oklch": {
    "l": 0.27219,
    "c": 0.10654,
    "h": 283.4
  },
  "luminance": 0.01801
}

Semantic roles & 50–950 ramp

primary
#231A58
secondary
#838E40
accent
#DE4AC8
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030B
muted
#7A787C

Preview Lab

Preview with #231A58

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

Preview Lab → · Contrast checker → · Palette generator →

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