#123B9E#123B9E

#123B9E is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.5% C 0.167 H 263.5°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#123B9E
RGBrgb(18, 59, 158)
HSLhsl(222, 80%, 35%)
HSVhsv(222, 89%, 62%)
CMYKcmyk(88.6%, 62.7%, 0%, 38%)
CIE-LABlab(28.71, 26.27, -57.30)
CIE-LCHlch(28.71, 63.03, 294.63°)
OKLaboklab(39.51% -0.0189 -0.166)
OKLCHoklch(39.51% 0.167 263.5)
XYZxyz(7.9828, 5.7241, 33.0252)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123B9E #9E7512
analogous
#12819E #123B9E #2F129E
triadic
#123B9E #9E123B #3B9E12
tetradic
#123B9E #9E1281 #9E7512 #129E2F
square
#123B9E #9E1281 #9E7512 #129E2F
split-complementary
#123B9E #9E2F12 #819E12
monochromatic
#051230 #0C2667 #123B9E #1850D5 #4172E9

Accessibility & contrast

On white

9.79
#123B9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#123B9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123B9E
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123B9E#FFFFFF#000000##FFFFFF
##123B9E1.009.792.159.79
#FFFFFF9.791.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA1
Deuteranopia (green-blind)
#003D9C
Tritanopia (blue-blind)
#005566
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #123b9e;
/* rgb */ color: rgb(18, 59, 158);
/* oklch */ color: oklch(39.5% 0.167 263.5);
Tailwind
colors: {
  custom: {
    50: '#6e70bc',
    500: '#123b9e',
    950: '#000000',
  },
}
SCSS
$custom: #123b9e;
$custom-light: #6e70bc;
$custom-dark: #000000;
JSON
{
  "hex": "#123b9e",
  "rgb": {
    "r": 18,
    "g": 59,
    "b": 158
  },
  "hsl": {
    "h": 222.429,
    "s": 79.545,
    "l": 34.51
  },
  "oklch": {
    "l": 0.39512,
    "c": 0.16704,
    "h": 263.5
  },
  "luminance": 0.05725
}

Semantic roles & 50–950 ramp

primary
#123B9E
secondary
#C9A242
accent
#BD32F6
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #123B9E

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

Preview Lab → · Contrast checker → · Palette generator →

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