#12294D#12294D

#12294D is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.4% C 0.072 H 259.1°. Best body text is #FFFFFF at 14.48:1 contrast (WCAG AA passes).

Color values

HEX#12294D
RGBrgb(18, 41, 77)
HSLhsl(217, 62%, 19%)
HSVhsv(217, 77%, 30%)
CMYKcmyk(76.6%, 46.8%, 0%, 69.8%)
CIE-LABlab(16.75, 5.15, -24.89)
CIE-LCHlch(16.75, 25.42, 281.70°)
OKLaboklab(28.38% -0.0137 -0.0711)
OKLCHoklch(28.38% 0.072 259.1)
XYZxyz(2.3815, 2.2500, 7.3285)
Luminance0.0225 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12294D #4D3612
analogous
#12464D #12294D #18124D
triadic
#12294D #4D1229 #294D12
tetradic
#12294D #4D1246 #4D3612 #124D18
square
#12294D #4D1246 #4D3612 #124D18
split-complementary
#12294D #4D1812 #464D12
monochromatic
#060D19 #060F1B #12294D #1E437F #295EB0

Accessibility & contrast

On white

14.48
#12294D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12294D
14.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12294D#FFFFFF#000000##FFFFFF
##12294D1.0014.481.4514.48
#FFFFFF14.481.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182C4E
Deuteranopia (green-blind)
#0E274C
Tritanopia (blue-blind)
#003137
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #12294d;
/* rgb */ color: rgb(18, 41, 77);
/* oklch */ color: oklch(28.4% 0.072 259.1);
Tailwind
colors: {
  custom: {
    50: '#58627f',
    500: '#12294d',
    950: '#000000',
  },
}
SCSS
$custom: #12294d;
$custom-light: #58627f;
$custom-dark: #000000;
JSON
{
  "hex": "#12294d",
  "rgb": {
    "r": 18,
    "g": 41,
    "b": 77
  },
  "hsl": {
    "h": 216.61,
    "s": 62.105,
    "l": 18.627
  },
  "oklch": {
    "l": 0.28384,
    "c": 0.0724,
    "h": 259.1
  },
  "luminance": 0.0225
}

Semantic roles & 50–950 ramp

primary
#12294D
secondary
#866635
accent
#A643E5
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#04050A
muted
#79797C

Preview Lab

Preview with #12294D

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

Preview Lab → · Contrast checker → · Palette generator →

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