#122963#122963

#122963 is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.2% C 0.107 H 264.5°. Best body text is #FFFFFF at 13.79:1 contrast (WCAG AA passes).

Color values

HEX#122963
RGBrgb(18, 41, 99)
HSLhsl(223, 69%, 23%)
HSVhsv(223, 82%, 39%)
CMYKcmyk(81.8%, 58.6%, 0%, 61.2%)
CIE-LABlab(18.43, 14.60, -36.88)
CIE-LCHlch(18.43, 39.66, 291.60°)
OKLaboklab(30.21% -0.0103 -0.1063)
OKLCHoklch(30.21% 0.107 264.5)
XYZxyz(3.2937, 2.6150, 12.1331)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122963 #634C12
analogous
#125163 #122963 #231263
triadic
#122963 #631229 #296312
tetradic
#122963 #631251 #634C12 #126323
square
#122963 #631251 #634C12 #126323
split-complementary
#122963 #632312 #516312
monochromatic
#050B1A #09142F #122963 #1B3E97 #2554CB

Accessibility & contrast

On white

13.79
#122963 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#122963 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122963
13.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122963#FFFFFF#000000##FFFFFF
##1229631.0013.791.5213.79
#FFFFFF13.791.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003165
Deuteranopia (green-blind)
#002962
Tritanopia (blue-blind)
#003741
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #122963;
/* rgb */ color: rgb(18, 41, 99);
/* oklch */ color: oklch(30.2% 0.107 264.5);
Tailwind
colors: {
  custom: {
    50: '#5e6290',
    500: '#122963',
    950: '#000000',
  },
}
SCSS
$custom: #122963;
$custom-light: #5e6290;
$custom-dark: #000000;
JSON
{
  "hex": "#122963",
  "rgb": {
    "r": 18,
    "g": 41,
    "b": 99
  },
  "hsl": {
    "h": 222.963,
    "s": 69.231,
    "l": 22.941
  },
  "oklch": {
    "l": 0.30207,
    "c": 0.10685,
    "h": 264.5
  },
  "luminance": 0.02615
}

Semantic roles & 50–950 ramp

primary
#122963
secondary
#9B7E36
accent
#BA3CEC
background
#F5F5F8
surface
#EAEAF0
border
#C6C6CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #122963

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

Preview Lab → · Contrast checker → · Palette generator →

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