#12295D#12295D

#12295D is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.7% C 0.098 H 263.6°. Best body text is #FFFFFF at 13.99:1 contrast (WCAG AA passes).

Color values

HEX#12295D
RGBrgb(18, 41, 93)
HSLhsl(222, 68%, 22%)
HSVhsv(222, 81%, 36%)
CMYKcmyk(80.6%, 55.9%, 0%, 63.5%)
CIE-LABlab(17.94, 12.03, -33.72)
CIE-LCHlch(17.94, 35.80, 289.64°)
OKLaboklab(29.68% -0.0109 -0.097)
OKLCHoklch(29.68% 0.098 263.6)
XYZxyz(3.0175, 2.5045, 10.6782)
Luminance0.0250 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12295D #5D4612
analogous
#124F5D #12295D #21125D
triadic
#12295D #5D1229 #295D12
tetradic
#12295D #5D124F #5D4612 #125D21
square
#12295D #5D124F #5D4612 #125D21
split-complementary
#12295D #5D2112 #4F5D12
monochromatic
#050B1A #08122A #12295D #1C4090 #2656C4

Accessibility & contrast

On white

13.99
#12295D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#12295D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12295D
13.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12295D#FFFFFF#000000##FFFFFF
##12295D1.0013.991.5013.99
#FFFFFF13.991.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#062F5F
Deuteranopia (green-blind)
#00295C
Tritanopia (blue-blind)
#00363E
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #12295d;
/* rgb */ color: rgb(18, 41, 93);
/* oklch */ color: oklch(29.7% 0.098 263.6);
Tailwind
colors: {
  custom: {
    50: '#5d628b',
    500: '#12295d',
    950: '#000000',
  },
}
SCSS
$custom: #12295d;
$custom-light: #5d628b;
$custom-dark: #000000;
JSON
{
  "hex": "#12295d",
  "rgb": {
    "r": 18,
    "g": 41,
    "b": 93
  },
  "hsl": {
    "h": 221.6,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.29679,
    "c": 0.09766,
    "h": 263.6
  },
  "luminance": 0.02505
}

Semantic roles & 50–950 ramp

primary
#12295D
secondary
#957835
accent
#B53DEA
background
#F5F5F8
surface
#E9EAF0
border
#C5C6CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #12295D

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

Preview Lab → · Contrast checker → · Palette generator →

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