#122463#122463

#122463 is a dark, moderate blue. Relative luminance 0.023; OKLCH L 29.1% C 0.114 H 266.8°. Best body text is #FFFFFF at 14.40:1 contrast (WCAG AA passes).

Color values

HEX#122463
RGBrgb(18, 36, 99)
HSLhsl(227, 69%, 23%)
HSVhsv(227, 82%, 39%)
CMYKcmyk(81.8%, 63.6%, 0%, 61.2%)
CIE-LABlab(16.95, 18.29, -39.30)
CIE-LCHlch(16.95, 43.34, 294.96°)
OKLaboklab(29.09% -0.0064 -0.1135)
OKLCHoklch(29.09% 0.114 266.8)
XYZxyz(3.1317, 2.2909, 12.0791)
Luminance0.0229 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122463 #635112
analogous
#124C63 #122463 #291263
triadic
#122463 #631224 #246312
tetradic
#122463 #63124C #635112 #126329
square
#122463 #63124C #635112 #126329
split-complementary
#122463 #632912 #4C6312
monochromatic
#05091A #09112F #122463 #1B3797 #254ACB

Accessibility & contrast

On white

14.40
#122463 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#122463 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122463
14.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122463#FFFFFF#000000##FFFFFF
##1224631.0014.401.4614.40
#FFFFFF14.401.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E65
Deuteranopia (green-blind)
#002662
Tritanopia (blue-blind)
#00343F
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #122463;
/* rgb */ color: rgb(18, 36, 99);
/* oklch */ color: oklch(29.1% 0.114 266.8);
Tailwind
colors: {
  custom: {
    50: '#5f5e90',
    500: '#122463',
    950: '#000000',
  },
}
SCSS
$custom: #122463;
$custom-light: #5f5e90;
$custom-dark: #000000;
JSON
{
  "hex": "#122463",
  "rgb": {
    "r": 18,
    "g": 36,
    "b": 99
  },
  "hsl": {
    "h": 226.667,
    "s": 69.231,
    "l": 22.941
  },
  "oklch": {
    "l": 0.29092,
    "c": 0.11373,
    "h": 266.8
  },
  "luminance": 0.02291
}

Semantic roles & 50–950 ramp

primary
#122463
secondary
#9B8536
accent
#C53CEC
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #122463

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

Preview Lab → · Contrast checker → · Palette generator →

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