#122983#122983

#122983 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.3% C 0.153 H 266.2°. Best body text is #FFFFFF at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#122983
RGBrgb(18, 41, 131)
HSLhsl(228, 76%, 29%)
HSVhsv(228, 86%, 51%)
CMYKcmyk(86.3%, 68.7%, 0%, 48.6%)
CIE-LABlab(21.40, 27.83, -52.59)
CIE-LCHlch(21.40, 59.50, 297.88°)
OKLaboklab(33.33% -0.01 -0.1524)
OKLCHoklch(33.33% 0.153 266.2)
XYZxyz(5.1377, 3.3525, 21.8446)
Luminance0.0335 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122983 #836C12
analogous
#126283 #122983 #341283
triadic
#122983 #831229 #298312
tetradic
#122983 #831262 #836C12 #128334
square
#122983 #831262 #836C12 #128334
split-complementary
#122983 #833412 #628312
monochromatic
#04081B #0B184D #122983 #193AB9 #2D52E2

Accessibility & contrast

On white

12.57
#122983 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#122983 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122983
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122983#FFFFFF#000000##FFFFFF
##1229831.0012.571.6712.57
#FFFFFF12.571.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003986
Deuteranopia (green-blind)
#002E81
Tritanopia (blue-blind)
#004152
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #122983;
/* rgb */ color: rgb(18, 41, 131);
/* oklch */ color: oklch(33.3% 0.153 266.2);
Tailwind
colors: {
  custom: {
    50: '#6862a8',
    500: '#122983',
    950: '#000000',
  },
}
SCSS
$custom: #122983;
$custom-light: #6862a8;
$custom-dark: #000000;
JSON
{
  "hex": "#122983",
  "rgb": {
    "r": 18,
    "g": 41,
    "b": 131
  },
  "hsl": {
    "h": 227.788,
    "s": 75.839,
    "l": 29.216
  },
  "oklch": {
    "l": 0.33334,
    "c": 0.15273,
    "h": 266.2
  },
  "luminance": 0.03353
}

Semantic roles & 50–950 ramp

primary
#122983
secondary
#B89E38
accent
#CC35F2
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#070510
muted
#7A797F

Preview Lab

Preview with #122983

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

Preview Lab → · Contrast checker → · Palette generator →

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