#123DA0#123DA0

#123DA0 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.1% C 0.167 H 263.2°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#123DA0
RGBrgb(18, 61, 160)
HSLhsl(222, 80%, 35%)
HSVhsv(222, 89%, 63%)
CMYKcmyk(88.8%, 61.9%, 0%, 37.3%)
CIE-LABlab(29.42, 25.70, -57.34)
CIE-LCHlch(29.42, 62.84, 294.14°)
OKLaboklab(40.1% -0.0199 -0.166)
OKLCHoklch(40.1% 0.167 263.2)
XYZxyz(8.2611, 6.0031, 33.9742)
Luminance0.0600 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123DA0 #A07512
analogous
#1284A0 #123DA0 #2E12A0
triadic
#123DA0 #A0123D #3DA012
tetradic
#123DA0 #A01284 #A07512 #12A02E
square
#123DA0 #A01284 #A07512 #12A02E
split-complementary
#123DA0 #A02E12 #84A012
monochromatic
#061332 #0C2869 #123DA0 #1852D7 #4375EA

Accessibility & contrast

On white

9.54
#123DA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#123DA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123DA0
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123DA0#FFFFFF#000000##FFFFFF
##123DA01.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA3
Deuteranopia (green-blind)
#003F9E
Tritanopia (blue-blind)
#005768
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #123da0;
/* rgb */ color: rgb(18, 61, 160);
/* oklch */ color: oklch(40.1% 0.167 263.2);
Tailwind
colors: {
  custom: {
    50: '#6e72bd',
    500: '#123da0',
    950: '#000000',
  },
}
SCSS
$custom: #123da0;
$custom-light: #6e72bd;
$custom-dark: #000000;
JSON
{
  "hex": "#123da0",
  "rgb": {
    "r": 18,
    "g": 61,
    "b": 160
  },
  "hsl": {
    "h": 221.831,
    "s": 79.775,
    "l": 34.902
  },
  "oklch": {
    "l": 0.40099,
    "c": 0.16724,
    "h": 263.2
  },
  "luminance": 0.06004
}

Semantic roles & 50–950 ramp

primary
#123DA0
secondary
#CAA144
accent
#BB32F6
background
#F7F6FB
surface
#EDECF7
border
#C8C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #123DA0

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

Preview Lab → · Contrast checker → · Palette generator →

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