#123CA0#123CA0

#123CA0 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.9% C 0.168 H 263.4°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#123CA0
RGBrgb(18, 60, 160)
HSLhsl(222, 80%, 35%)
HSVhsv(222, 89%, 63%)
CMYKcmyk(88.8%, 62.5%, 0%, 37.3%)
CIE-LABlab(29.15, 26.39, -57.78)
CIE-LCHlch(29.15, 63.52, 294.55°)
OKLaboklab(39.9% -0.0194 -0.1673)
OKLCHoklch(39.9% 0.168 263.4)
XYZxyz(8.2082, 5.8973, 33.9566)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123CA0 #A07612
analogous
#1283A0 #123CA0 #2F12A0
triadic
#123CA0 #A0123C #3CA012
tetradic
#123CA0 #A01283 #A07612 #12A02F
square
#123CA0 #A01283 #A07612 #12A02F
split-complementary
#123CA0 #A02F12 #83A012
monochromatic
#061332 #0C2769 #123CA0 #1851D7 #4374EA

Accessibility & contrast

On white

9.63
#123CA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#123CA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123CA0
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123CA0#FFFFFF#000000##FFFFFF
##123CA01.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA3
Deuteranopia (green-blind)
#003E9E
Tritanopia (blue-blind)
#005668
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #123ca0;
/* rgb */ color: rgb(18, 60, 160);
/* oklch */ color: oklch(39.9% 0.168 263.4);
Tailwind
colors: {
  custom: {
    50: '#6e71bd',
    500: '#123ca0',
    950: '#000000',
  },
}
SCSS
$custom: #123ca0;
$custom-light: #6e71bd;
$custom-dark: #000000;
JSON
{
  "hex": "#123ca0",
  "rgb": {
    "r": 18,
    "g": 60,
    "b": 160
  },
  "hsl": {
    "h": 222.254,
    "s": 79.775,
    "l": 34.902
  },
  "oklch": {
    "l": 0.39899,
    "c": 0.16847,
    "h": 263.4
  },
  "luminance": 0.05898
}

Semantic roles & 50–950 ramp

primary
#123CA0
secondary
#CAA244
accent
#BC32F6
background
#F7F6FB
surface
#EDECF7
border
#C8C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #123CA0

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

Preview Lab → · Contrast checker → · Palette generator →

#123CA0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva