#12294E#12294E

#12294E is a dark, moderate blue. Relative luminance 0.023; OKLCH L 28.5% C 0.074 H 259.5°. Best body text is #FFFFFF at 14.45:1 contrast (WCAG AA passes).

Color values

HEX#12294E
RGBrgb(18, 41, 78)
HSLhsl(217, 63%, 19%)
HSVhsv(217, 77%, 31%)
CMYKcmyk(76.9%, 47.4%, 0%, 69.4%)
CIE-LABlab(16.82, 5.58, -25.46)
CIE-LCHlch(16.82, 26.06, 282.36°)
OKLaboklab(28.46% -0.0135 -0.0728)
OKLCHoklch(28.46% 0.074 259.5)
XYZxyz(2.4170, 2.2643, 7.5159)
Luminance0.0226 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12294E #4E3712
analogous
#12474E #12294E #19124E
triadic
#12294E #4E1229 #294E12
tetradic
#12294E #4E1247 #4E3712 #124E19
square
#12294E #4E1247 #4E3712 #124E19
split-complementary
#12294E #4E1912 #474E12
monochromatic
#060D19 #070F1C #12294E #1D4380 #295DB1

Accessibility & contrast

On white

14.45
#12294E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#12294E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12294E
14.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12294E#FFFFFF#000000##FFFFFF
##12294E1.0014.451.4514.45
#FFFFFF14.451.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172C4F
Deuteranopia (green-blind)
#0D274D
Tritanopia (blue-blind)
#003237
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #12294e;
/* rgb */ color: rgb(18, 41, 78);
/* oklch */ color: oklch(28.5% 0.074 259.5);
Tailwind
colors: {
  custom: {
    50: '#596280',
    500: '#12294e',
    950: '#000000',
  },
}
SCSS
$custom: #12294e;
$custom-light: #596280;
$custom-dark: #000000;
JSON
{
  "hex": "#12294e",
  "rgb": {
    "r": 18,
    "g": 41,
    "b": 78
  },
  "hsl": {
    "h": 217,
    "s": 62.5,
    "l": 18.824
  },
  "oklch": {
    "l": 0.2846,
    "c": 0.074,
    "h": 259.5
  },
  "luminance": 0.02265
}

Semantic roles & 50–950 ramp

primary
#12294E
secondary
#876735
accent
#A742E6
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#04050A
muted
#79797C

Preview Lab

Preview with #12294E

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

Preview Lab → · Contrast checker → · Palette generator →

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