#123EA0#123EA0

#123EA0 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.3% C 0.166 H 262.9°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#123EA0
RGBrgb(18, 62, 160)
HSLhsl(221, 80%, 35%)
HSVhsv(221, 89%, 63%)
CMYKcmyk(88.8%, 61.2%, 0%, 37.3%)
CIE-LABlab(29.69, 25.02, -56.90)
CIE-LCHlch(29.69, 62.16, 293.74°)
OKLaboklab(40.3% -0.0204 -0.1647)
OKLCHoklch(40.3% 0.166 262.9)
XYZxyz(8.3150, 6.1108, 33.9922)
Luminance0.0611 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123EA0 #A07412
analogous
#1285A0 #123EA0 #2D12A0
triadic
#123EA0 #A0123E #3EA012
tetradic
#123EA0 #A01285 #A07412 #12A02D
square
#123EA0 #A01285 #A07412 #12A02D
split-complementary
#123EA0 #A02D12 #85A012
monochromatic
#061332 #0C2969 #123EA0 #1853D7 #4376EA

Accessibility & contrast

On white

9.45
#123EA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#123EA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123EA0
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123EA0#FFFFFF#000000##FFFFFF
##123EA01.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA3
Deuteranopia (green-blind)
#00409E
Tritanopia (blue-blind)
#005769
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #123ea0;
/* rgb */ color: rgb(18, 62, 160);
/* oklch */ color: oklch(40.3% 0.166 262.9);
Tailwind
colors: {
  custom: {
    50: '#6e72bd',
    500: '#123ea0',
    950: '#000000',
  },
}
SCSS
$custom: #123ea0;
$custom-light: #6e72bd;
$custom-dark: #000000;
JSON
{
  "hex": "#123ea0",
  "rgb": {
    "r": 18,
    "g": 62,
    "b": 160
  },
  "hsl": {
    "h": 221.408,
    "s": 79.775,
    "l": 34.902
  },
  "oklch": {
    "l": 0.40301,
    "c": 0.166,
    "h": 262.9
  },
  "luminance": 0.06112
}

Semantic roles & 50–950 ramp

primary
#123EA0
secondary
#CAA044
accent
#B932F6
background
#F7F6FB
surface
#EDECF7
border
#C8C7D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #123EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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