#231E53#231E53

#231E53 is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.5% C 0.093 H 282.7°. Best body text is #FFFFFF at 15.20:1 contrast (WCAG AA passes).

Color values

HEX#231E53
RGBrgb(35, 30, 83)
HSLhsl(246, 47%, 22%)
HSVhsv(246, 64%, 33%)
CMYKcmyk(57.8%, 63.9%, 0%, 67.5%)
CIE-LABlab(15.01, 19.25, -31.70)
CIE-LCHlch(15.01, 37.09, 301.26°)
OKLaboklab(27.52% 0.0204 -0.0908)
OKLCHoklch(27.52% 0.093 282.7)
XYZxyz(2.7183, 1.9102, 8.4074)
Luminance0.0191 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231E53 #4E531E
analogous
#1E3453 #231E53 #3E1E53
triadic
#231E53 #53231E #1E5323
tetradic
#231E53 #531E34 #4E531E #1E533E
square
#231E53 #531E34 #4E531E #1E533E
split-complementary
#231E53 #533E1E #34531E
monochromatic
#090816 #100E26 #231E53 #362E80 #493EAD

Accessibility & contrast

On white

15.20
#231E53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#231E53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231E53
15.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231E53#FFFFFF#000000##FFFFFF
##231E531.0015.201.3815.20
#FFFFFF15.201.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002755
Deuteranopia (green-blind)
#002452
Tritanopia (blue-blind)
#0F2A35
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #231e53;
/* rgb */ color: rgb(35, 30, 83);
/* oklch */ color: oklch(27.5% 0.093 282.7);
Tailwind
colors: {
  custom: {
    50: '#635a84',
    500: '#231e53',
    950: '#000000',
  },
}
SCSS
$custom: #231e53;
$custom-light: #635a84;
$custom-dark: #000000;
JSON
{
  "hex": "#231e53",
  "rgb": {
    "r": 35,
    "g": 30,
    "b": 83
  },
  "hsl": {
    "h": 245.66,
    "s": 46.903,
    "l": 22.157
  },
  "oklch": {
    "l": 0.27523,
    "c": 0.09308,
    "h": 282.7
  },
  "luminance": 0.0191
}

Semantic roles & 50–950 ramp

primary
#231E53
secondary
#828845
accent
#D751CA
background
#F6F5F8
surface
#EBE9EF
border
#C6C5CA
text
#05030B
muted
#7A787C

Preview Lab

Preview with #231E53

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

Preview Lab → · Contrast checker → · Palette generator →

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