#10245F#10245F

#10245F is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.6% C 0.108 H 265.6°. Best body text is #FFFFFF at 14.59:1 contrast (WCAG AA passes).

Color values

HEX#10245F
RGBrgb(16, 36, 95)
HSLhsl(225, 71%, 22%)
HSVhsv(225, 83%, 37%)
CMYKcmyk(83.2%, 62.1%, 0%, 62.7%)
CIE-LABlab(16.49, 16.35, -37.39)
CIE-LCHlch(16.49, 40.81, 293.62°)
OKLaboklab(28.62% -0.0083 -0.108)
OKLCHoklch(28.62% 0.108 265.6)
XYZxyz(2.9094, 2.1978, 11.0951)
Luminance0.0220 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#10245F #5F4B10
analogous
#104C5F #10245F #24105F
triadic
#10245F #5F1024 #245F10
tetradic
#10245F #5F104C #5F4B10 #105F24
square
#10245F #5F104C #5F4B10 #105F24
split-complementary
#10245F #5F2410 #4C5F10
monochromatic
#040A1A #07102B #10245F #193893 #224CC8

Accessibility & contrast

On white

14.59
#10245F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#10245F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #10245F
14.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##10245F#FFFFFF#000000##FFFFFF
##10245F1.0014.591.4414.59
#FFFFFF14.591.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D61
Deuteranopia (green-blind)
#00255E
Tritanopia (blue-blind)
#00333D
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #10245f;
/* rgb */ color: rgb(16, 36, 95);
/* oklch */ color: oklch(28.6% 0.108 265.6);
Tailwind
colors: {
  custom: {
    50: '#5d5e8d',
    500: '#10245f',
    950: '#000000',
  },
}
SCSS
$custom: #10245f;
$custom-light: #5d5e8d;
$custom-dark: #000000;
JSON
{
  "hex": "#10245f",
  "rgb": {
    "r": 16,
    "g": 36,
    "b": 95
  },
  "hsl": {
    "h": 224.81,
    "s": 71.171,
    "l": 21.765
  },
  "oklch": {
    "l": 0.28616,
    "c": 0.10832,
    "h": 265.6
  },
  "luminance": 0.02198
}

Semantic roles & 50–950 ramp

primary
#10245F
secondary
#987E33
accent
#C03AEE
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #10245F

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

Preview Lab → · Contrast checker → · Palette generator →

#10245F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva