#12234A#12234A

#12234A is a dark, moderate blue. Relative luminance 0.018; OKLCH L 26.6% C 0.076 H 264.2°. Best body text is #FFFFFF at 15.38:1 contrast (WCAG AA passes).

Color values

HEX#12234A
RGBrgb(18, 35, 74)
HSLhsl(222, 61%, 18%)
HSVhsv(222, 76%, 29%)
CMYKcmyk(75.7%, 52.7%, 0%, 71%)
CIE-LABlab(14.54, 8.35, -26.38)
CIE-LCHlch(14.54, 27.67, 287.57°)
OKLaboklab(26.62% -0.0077 -0.0756)
OKLCHoklch(26.62% 0.076 264.2)
XYZxyz(2.0861, 1.8249, 6.7195)
Luminance0.0182 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12234A #4A3912
analogous
#123F4A #12234A #1D124A
triadic
#12234A #4A1223 #234A12
tetradic
#12234A #4A123F #4A3912 #124A1D
square
#12234A #4A123F #4A3912 #124A1D
split-complementary
#12234A #4A1D12 #3F4A12
monochromatic
#060C19 #060C19 #12234A #1E3A7B #2A52AC

Accessibility & contrast

On white

15.38
#12234A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#12234A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12234A
15.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12234A#FFFFFF#000000##FFFFFF
##12234A1.0015.381.3715.38
#FFFFFF15.381.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F274B
Deuteranopia (green-blind)
#042249
Tritanopia (blue-blind)
#002C32
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #12234a;
/* rgb */ color: rgb(18, 35, 74);
/* oklch */ color: oklch(26.6% 0.076 264.2);
Tailwind
colors: {
  custom: {
    50: '#585d7d',
    500: '#12234a',
    950: '#000000',
  },
}
SCSS
$custom: #12234a;
$custom-light: #585d7d;
$custom-dark: #000000;
JSON
{
  "hex": "#12234a",
  "rgb": {
    "r": 18,
    "g": 35,
    "b": 74
  },
  "hsl": {
    "h": 221.786,
    "s": 60.87,
    "l": 18.039
  },
  "oklch": {
    "l": 0.26615,
    "c": 0.07597,
    "h": 264.2
  },
  "luminance": 0.01825
}

Semantic roles & 50–950 ramp

primary
#12234A
secondary
#836B35
accent
#B344E4
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#040409
muted
#79797B

Preview Lab

Preview with #12234A

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

Preview Lab → · Contrast checker → · Palette generator →

#12234A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva