#12448F#12448F

#12448F is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.1% C 0.135 H 259.1°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#12448F
RGBrgb(18, 68, 143)
HSLhsl(216, 78%, 32%)
HSVhsv(216, 87%, 56%)
CMYKcmyk(87.4%, 52.4%, 0%, 43.9%)
CIE-LABlab(30.02, 13.90, -46.00)
CIE-LCHlch(30.02, 48.05, 286.81°)
OKLaboklab(40.12% -0.0255 -0.1326)
OKLCHoklch(40.12% 0.135 259.1)
XYZxyz(7.2727, 6.2451, 26.8034)
Luminance0.0625 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12448F #8F5D12
analogous
#12838F #12448F #1F128F
triadic
#12448F #8F1244 #448F12
tetradic
#12448F #8F1283 #8F5D12 #128F1F
square
#12448F #8F1283 #8F5D12 #128F1F
split-complementary
#12448F #8F1F12 #838F12
monochromatic
#041022 #0B2A59 #12448F #195EC5 #367CE6

Accessibility & contrast

On white

9.34
#12448F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#12448F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12448F
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12448F#FFFFFF#000000##FFFFFF
##12448F1.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114D92
Deuteranopia (green-blind)
#00418E
Tritanopia (blue-blind)
#005663
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #12448f;
/* rgb */ color: rgb(18, 68, 143);
/* oklch */ color: oklch(40.1% 0.135 259.1);
Tailwind
colors: {
  custom: {
    50: '#6977b0',
    500: '#12448f',
    950: '#000000',
  },
}
SCSS
$custom: #12448f;
$custom-light: #6977b0;
$custom-dark: #000000;
JSON
{
  "hex": "#12448f",
  "rgb": {
    "r": 18,
    "g": 68,
    "b": 143
  },
  "hsl": {
    "h": 216,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.40122,
    "c": 0.13503,
    "h": 259.1
  },
  "luminance": 0.06246
}

Semantic roles & 50–950 ramp

primary
#12448F
secondary
#C38C3A
accent
#A734F4
background
#F6F7FA
surface
#ECEDF5
border
#C7C8CF
text
#070811
muted
#7A7B80

Preview Lab

Preview with #12448F

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

Preview Lab → · Contrast checker → · Palette generator →

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