#10237E#10237E

#10237E is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.6% C 0.154 H 266.8°. Best body text is #FFFFFF at 13.43:1 contrast (WCAG AA passes).

Color values

HEX#10237E
RGBrgb(16, 35, 126)
HSLhsl(230, 77%, 28%)
HSVhsv(230, 87%, 49%)
CMYKcmyk(87.3%, 72.2%, 0%, 50.6%)
CIE-LABlab(19.30, 29.78, -52.90)
CIE-LCHlch(19.30, 60.71, 299.38°)
OKLaboklab(31.62% -0.0086 -0.1533)
OKLCHoklch(31.62% 0.154 266.8)
XYZxyz(4.5793, 2.8180, 20.0372)
Luminance0.0282 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#10237E #7E6B10
analogous
#105A7E #10237E #34107E
triadic
#10237E #7E1023 #237E10
tetradic
#10237E #7E105A #7E6B10 #107E34
square
#10237E #7E105A #7E6B10 #107E34
split-complementary
#10237E #7E3410 #5A7E10
monochromatic
#03081B #091448 #10237E #1732B4 #2546E3

Accessibility & contrast

On white

13.43
#10237E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#10237E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #10237E
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##10237E#FFFFFF#000000##FFFFFF
##10237E1.0013.431.5613.43
#FFFFFF13.431.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003481
Deuteranopia (green-blind)
#00297C
Tritanopia (blue-blind)
#003D4D
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #10237e;
/* rgb */ color: rgb(16, 35, 126);
/* oklch */ color: oklch(31.6% 0.154 266.8);
Tailwind
colors: {
  custom: {
    50: '#665ea4',
    500: '#10237e',
    950: '#000000',
  },
}
SCSS
$custom: #10237e;
$custom-light: #665ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#10237e",
  "rgb": {
    "r": 16,
    "g": 35,
    "b": 126
  },
  "hsl": {
    "h": 229.636,
    "s": 77.465,
    "l": 27.843
  },
  "oklch": {
    "l": 0.31623,
    "c": 0.15358,
    "h": 266.8
  },
  "luminance": 0.02819
}

Semantic roles & 50–950 ramp

primary
#10237E
secondary
#B49E36
accent
#D334F4
background
#F6F5FA
surface
#EBE9F4
border
#C6C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #10237E

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

Preview Lab → · Contrast checker → · Palette generator →

#10237E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva