#122567#122567

#122567 is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.7% C 0.118 H 266.6°. Best body text is #FFFFFF at 14.13:1 contrast (WCAG AA passes).

Color values

HEX#122567
RGBrgb(18, 37, 103)
HSLhsl(227, 70%, 24%)
HSVhsv(227, 83%, 40%)
CMYKcmyk(82.5%, 64.1%, 0%, 59.6%)
CIE-LABlab(17.60, 19.24, -40.85)
CIE-LCHlch(17.60, 45.16, 295.21°)
OKLaboklab(29.7% -0.0071 -0.1181)
OKLCHoklch(29.7% 0.118 266.6)
XYZxyz(3.3583, 2.4306, 13.1215)
Luminance0.0243 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122567 #675412
analogous
#124F67 #122567 #291267
triadic
#122567 #671225 #256712
tetradic
#122567 #67124F #675412 #126729
square
#122567 #67124F #675412 #126729
split-complementary
#122567 #672912 #4F6712
monochromatic
#05091A #091233 #122567 #1B389B #244ACF

Accessibility & contrast

On white

14.13
#122567 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#122567 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122567
14.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122567#FFFFFF#000000##FFFFFF
##1225671.0014.131.4914.13
#FFFFFF14.131.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F69
Deuteranopia (green-blind)
#002766
Tritanopia (blue-blind)
#003642
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #122567;
/* rgb */ color: rgb(18, 37, 103);
/* oklch */ color: oklch(29.7% 0.118 266.6);
Tailwind
colors: {
  custom: {
    50: '#605f93',
    500: '#122567',
    950: '#000000',
  },
}
SCSS
$custom: #122567;
$custom-light: #605f93;
$custom-dark: #000000;
JSON
{
  "hex": "#122567",
  "rgb": {
    "r": 18,
    "g": 37,
    "b": 103
  },
  "hsl": {
    "h": 226.588,
    "s": 70.248,
    "l": 23.725
  },
  "oklch": {
    "l": 0.29696,
    "c": 0.11831,
    "h": 266.6
  },
  "luminance": 0.02431
}

Semantic roles & 50–950 ramp

primary
#122567
secondary
#9F8736
accent
#C53BED
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#05040D
muted
#79797E

Preview Lab

Preview with #122567

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

Preview Lab → · Contrast checker → · Palette generator →

#122567 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva