#122268#122268

#122268 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.2% C 0.124 H 267.7°. Best body text is #FFFFFF at 14.44:1 contrast (WCAG AA passes).

Color values

HEX#122268
RGBrgb(18, 34, 104)
HSLhsl(229, 70%, 24%)
HSVhsv(229, 83%, 41%)
CMYKcmyk(82.7%, 67.3%, 0%, 59.2%)
CIE-LABlab(16.85, 21.82, -42.73)
CIE-LCHlch(16.85, 47.98, 297.05°)
OKLaboklab(29.17% -0.0051 -0.1236)
OKLCHoklch(29.17% 0.124 267.7)
XYZxyz(3.3193, 2.2718, 13.3576)
Luminance0.0227 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122268 #685812
analogous
#124D68 #122268 #2D1268
triadic
#122268 #681222 #226812
tetradic
#122268 #68124D #685812 #12682D
square
#122268 #68124D #685812 #12682D
split-complementary
#122268 #682D12 #4D6812
monochromatic
#05091A #091134 #122268 #1B339C #2444D0

Accessibility & contrast

On white

14.44
#122268 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#122268 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122268
14.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122268#FFFFFF#000000##FFFFFF
##1222681.0014.441.4514.44
#FFFFFF14.441.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6A
Deuteranopia (green-blind)
#002667
Tritanopia (blue-blind)
#003441
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #122268;
/* rgb */ color: rgb(18, 34, 104);
/* oklch */ color: oklch(29.2% 0.124 267.7);
Tailwind
colors: {
  custom: {
    50: '#605c94',
    500: '#122268',
    950: '#000000',
  },
}
SCSS
$custom: #122268;
$custom-light: #605c94;
$custom-dark: #000000;
JSON
{
  "hex": "#122268",
  "rgb": {
    "r": 18,
    "g": 34,
    "b": 104
  },
  "hsl": {
    "h": 228.837,
    "s": 70.492,
    "l": 23.922
  },
  "oklch": {
    "l": 0.29171,
    "c": 0.12374,
    "h": 267.7
  },
  "luminance": 0.02272
}

Semantic roles & 50–950 ramp

primary
#122268
secondary
#A08C36
accent
#CC3BED
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06040D
muted
#7A797E

Preview Lab

Preview with #122268

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

Preview Lab → · Contrast checker → · Palette generator →

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