#122964#122964

#122964 is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.3% C 0.108 H 264.6°. Best body text is #FFFFFF at 13.75:1 contrast (WCAG AA passes).

Color values

HEX#122964
RGBrgb(18, 41, 100)
HSLhsl(223, 69%, 23%)
HSVhsv(223, 82%, 39%)
CMYKcmyk(82%, 59%, 0%, 60.8%)
CIE-LABlab(18.52, 15.03, -37.40)
CIE-LCHlch(18.52, 40.31, 291.89°)
OKLaboklab(30.3% -0.0102 -0.1079)
OKLCHoklch(30.3% 0.108 264.6)
XYZxyz(3.3418, 2.6342, 12.3864)
Luminance0.0263 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122964 #644D12
analogous
#125264 #122964 #241264
triadic
#122964 #641229 #296412
tetradic
#122964 #641252 #644D12 #126424
square
#122964 #641252 #644D12 #126424
split-complementary
#122964 #642412 #526412
monochromatic
#050B1A #091430 #122964 #1B3E98 #2554CC

Accessibility & contrast

On white

13.75
#122964 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#122964 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122964
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122964#FFFFFF#000000##FFFFFF
##1229641.0013.751.5313.75
#FFFFFF13.751.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003166
Deuteranopia (green-blind)
#002963
Tritanopia (blue-blind)
#003842
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #122964;
/* rgb */ color: rgb(18, 41, 100);
/* oklch */ color: oklch(30.3% 0.108 264.6);
Tailwind
colors: {
  custom: {
    50: '#5f6291',
    500: '#122964',
    950: '#000000',
  },
}
SCSS
$custom: #122964;
$custom-light: #5f6291;
$custom-dark: #000000;
JSON
{
  "hex": "#122964",
  "rgb": {
    "r": 18,
    "g": 41,
    "b": 100
  },
  "hsl": {
    "h": 223.171,
    "s": 69.492,
    "l": 23.137
  },
  "oklch": {
    "l": 0.30297,
    "c": 0.10836,
    "h": 264.6
  },
  "luminance": 0.02635
}

Semantic roles & 50–950 ramp

primary
#122964
secondary
#9C7F36
accent
#BB3BEC
background
#F5F5F8
surface
#EAEAF0
border
#C6C6CB
text
#05050D
muted
#79797D

Preview Lab

Preview with #122964

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

Preview Lab → · Contrast checker → · Palette generator →

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