#122263#122263

#122263 is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.7% C 0.116 H 267.6°. Best body text is #FFFFFF at 14.64:1 contrast (WCAG AA passes).

Color values

HEX#122263
RGBrgb(18, 34, 99)
HSLhsl(228, 69%, 23%)
HSVhsv(228, 82%, 39%)
CMYKcmyk(81.8%, 65.7%, 0%, 61.2%)
CIE-LABlab(16.37, 19.75, -40.24)
CIE-LCHlch(16.37, 44.82, 296.15°)
OKLaboklab(28.67% -0.005 -0.1163)
OKLCHoklch(28.67% 0.116 267.6)
XYZxyz(3.0728, 2.1732, 12.0595)
Luminance0.0217 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122263 #635312
analogous
#124A63 #122263 #2A1263
triadic
#122263 #631222 #226312
tetradic
#122263 #63124A #635312 #12632A
square
#122263 #63124A #635312 #12632A
split-complementary
#122263 #632A12 #4A6312
monochromatic
#05091A #09102F #122263 #1B3497 #2546CB

Accessibility & contrast

On white

14.64
#122263 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#122263 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122263
14.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122263#FFFFFF#000000##FFFFFF
##1222631.0014.641.4314.64
#FFFFFF14.641.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C65
Deuteranopia (green-blind)
#002562
Tritanopia (blue-blind)
#00333F
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #122263;
/* rgb */ color: rgb(18, 34, 99);
/* oklch */ color: oklch(28.7% 0.116 267.6);
Tailwind
colors: {
  custom: {
    50: '#5f5c90',
    500: '#122263',
    950: '#000000',
  },
}
SCSS
$custom: #122263;
$custom-light: #5f5c90;
$custom-dark: #000000;
JSON
{
  "hex": "#122263",
  "rgb": {
    "r": 18,
    "g": 34,
    "b": 99
  },
  "hsl": {
    "h": 228.148,
    "s": 69.231,
    "l": 22.941
  },
  "oklch": {
    "l": 0.28666,
    "c": 0.11643,
    "h": 267.6
  },
  "luminance": 0.02174
}

Semantic roles & 50–950 ramp

primary
#122263
secondary
#9B8736
accent
#C93CEC
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05040D
muted
#79797D

Preview Lab

Preview with #122263

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

Preview Lab → · Contrast checker → · Palette generator →

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