#12294B#12294B

#12294B is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.2% C 0.069 H 258.2°. Best body text is #FFFFFF at 14.54:1 contrast (WCAG AA passes).

Color values

HEX#12294B
RGBrgb(18, 41, 75)
HSLhsl(216, 61%, 18%)
HSVhsv(216, 76%, 29%)
CMYKcmyk(76%, 45.3%, 0%, 70.6%)
CIE-LABlab(16.61, 4.30, -23.75)
CIE-LCHlch(16.61, 24.13, 280.26°)
OKLaboklab(28.24% -0.0142 -0.0677)
OKLCHoklch(28.24% 0.069 258.2)
XYZxyz(2.3119, 2.2222, 6.9623)
Luminance0.0222 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12294B #4B3412
analogous
#12454B #12294B #17124B
triadic
#12294B #4B1229 #294B12
tetradic
#12294B #4B1245 #4B3412 #124B17
square
#12294B #4B1245 #4B3412 #124B17
split-complementary
#12294B #4B1712 #454B12
monochromatic
#060D19 #060E1A #12294B #1E447C #2A5FAE

Accessibility & contrast

On white

14.54
#12294B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#12294B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12294B
14.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12294B#FFFFFF#000000##FFFFFF
##12294B1.0014.541.4414.54
#FFFFFF14.541.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192C4C
Deuteranopia (green-blind)
#10274A
Tritanopia (blue-blind)
#003136
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #12294b;
/* rgb */ color: rgb(18, 41, 75);
/* oklch */ color: oklch(28.2% 0.069 258.2);
Tailwind
colors: {
  custom: {
    50: '#58627d',
    500: '#12294b',
    950: '#000000',
  },
}
SCSS
$custom: #12294b;
$custom-light: #58627d;
$custom-dark: #000000;
JSON
{
  "hex": "#12294b",
  "rgb": {
    "r": 18,
    "g": 41,
    "b": 75
  },
  "hsl": {
    "h": 215.789,
    "s": 61.29,
    "l": 18.235
  },
  "oklch": {
    "l": 0.28235,
    "c": 0.0692,
    "h": 258.2
  },
  "luminance": 0.02222
}

Semantic roles & 50–950 ramp

primary
#12294B
secondary
#846435
accent
#A343E4
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#040509
muted
#79797B

Preview Lab

Preview with #12294B

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

Preview Lab → · Contrast checker → · Palette generator →

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