#123A90#123A90

#123A90 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.0% C 0.149 H 262.7°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#123A90
RGBrgb(18, 58, 144)
HSLhsl(221, 78%, 32%)
HSVhsv(221, 88%, 56%)
CMYKcmyk(87.5%, 59.7%, 0%, 43.5%)
CIE-LABlab(27.21, 21.28, -51.19)
CIE-LCHlch(27.21, 55.43, 292.57°)
OKLaboklab(38.01% -0.0189 -0.1481)
OKLCHoklch(38.01% 0.149 262.7)
XYZxyz(6.7947, 5.1675, 27.0194)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123A90 #906812
analogous
#127990 #123A90 #291290
triadic
#123A90 #90123A #3A9012
tetradic
#123A90 #901279 #906812 #129029
square
#123A90 #901279 #906812 #129029
split-complementary
#123A90 #902912 #799012
monochromatic
#040E23 #0B245A #123A90 #1950C6 #366EE6

Accessibility & contrast

On white

10.33
#123A90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#123A90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123A90
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123A90#FFFFFF#000000##FFFFFF
##123A901.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004693
Deuteranopia (green-blind)
#003B8E
Tritanopia (blue-blind)
#00505F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #123a90;
/* rgb */ color: rgb(18, 58, 144);
/* oklch */ color: oklch(38.0% 0.149 262.7);
Tailwind
colors: {
  custom: {
    50: '#6a6fb1',
    500: '#123a90',
    950: '#000000',
  },
}
SCSS
$custom: #123a90;
$custom-light: #6a6fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#123a90",
  "rgb": {
    "r": 18,
    "g": 58,
    "b": 144
  },
  "hsl": {
    "h": 220.952,
    "s": 77.778,
    "l": 31.765
  },
  "oklch": {
    "l": 0.38011,
    "c": 0.14926,
    "h": 262.7
  },
  "luminance": 0.05168
}

Semantic roles & 50–950 ramp

primary
#123A90
secondary
#C4983A
accent
#B734F4
background
#F6F6FB
surface
#ECECF6
border
#C7C7D0
text
#080711
muted
#7A7A80

Preview Lab

Preview with #123A90

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

Preview Lab → · Contrast checker → · Palette generator →

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