#12448E#12448E

#12448E is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.0% C 0.134 H 258.9°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#12448E
RGBrgb(18, 68, 142)
HSLhsl(216, 78%, 31%)
HSVhsv(216, 87%, 56%)
CMYKcmyk(87.3%, 52.1%, 0%, 44.3%)
CIE-LABlab(29.95, 13.48, -45.50)
CIE-LCHlch(29.95, 47.46, 286.50°)
OKLaboklab(40.04% -0.0257 -0.1311)
OKLCHoklch(40.04% 0.134 258.9)
XYZxyz(7.1973, 6.2149, 26.4062)
Luminance0.0622 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12448E #8E5C12
analogous
#12828E #12448E #1E128E
triadic
#12448E #8E1244 #448E12
tetradic
#12448E #8E1282 #8E5C12 #128E1E
square
#12448E #8E1282 #8E5C12 #128E1E
split-complementary
#12448E #8E1E12 #828E12
monochromatic
#041021 #0B2A58 #12448E #195EC4 #357CE5

Accessibility & contrast

On white

9.36
#12448E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#12448E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12448E
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12448E#FFFFFF#000000##FFFFFF
##12448E1.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134C91
Deuteranopia (green-blind)
#00418D
Tritanopia (blue-blind)
#005662
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #12448e;
/* rgb */ color: rgb(18, 68, 142);
/* oklch */ color: oklch(40.0% 0.134 258.9);
Tailwind
colors: {
  custom: {
    50: '#6977b0',
    500: '#12448e',
    950: '#000000',
  },
}
SCSS
$custom: #12448e;
$custom-light: #6977b0;
$custom-dark: #000000;
JSON
{
  "hex": "#12448e",
  "rgb": {
    "r": 18,
    "g": 68,
    "b": 142
  },
  "hsl": {
    "h": 215.806,
    "s": 77.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40042,
    "c": 0.13363,
    "h": 258.9
  },
  "luminance": 0.06216
}

Semantic roles & 50–950 ramp

primary
#12448E
secondary
#C28B3A
accent
#A734F4
background
#F6F7FA
surface
#ECEDF5
border
#C7C8CF
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #12448E

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

Preview Lab → · Contrast checker → · Palette generator →

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