#123990#123990

#123990 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 37.8% C 0.151 H 263.0°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#123990
RGBrgb(18, 57, 144)
HSLhsl(221, 78%, 32%)
HSVhsv(221, 88%, 56%)
CMYKcmyk(87.5%, 60.4%, 0%, 43.5%)
CIE-LABlab(26.93, 21.98, -51.64)
CIE-LCHlch(26.93, 56.13, 293.05°)
OKLaboklab(37.8% -0.0183 -0.1494)
OKLCHoklch(37.8% 0.151 263)
XYZxyz(6.7448, 5.0676, 27.0028)
Luminance0.0507 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123990 #906912
analogous
#127890 #123990 #2A1290
triadic
#123990 #901239 #399012
tetradic
#123990 #901278 #906912 #12902A
square
#123990 #901278 #906912 #12902A
split-complementary
#123990 #902A12 #789012
monochromatic
#040E23 #0B235A #123990 #194FC6 #366DE6

Accessibility & contrast

On white

10.43
#123990 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#123990 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123990
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123990#FFFFFF#000000##FFFFFF
##1239901.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004693
Deuteranopia (green-blind)
#003A8E
Tritanopia (blue-blind)
#004F5E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #123990;
/* rgb */ color: rgb(18, 57, 144);
/* oklch */ color: oklch(37.8% 0.151 263.0);
Tailwind
colors: {
  custom: {
    50: '#6a6eb1',
    500: '#123990',
    950: '#000000',
  },
}
SCSS
$custom: #123990;
$custom-light: #6a6eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#123990",
  "rgb": {
    "r": 18,
    "g": 57,
    "b": 144
  },
  "hsl": {
    "h": 221.429,
    "s": 77.778,
    "l": 31.765
  },
  "oklch": {
    "l": 0.37801,
    "c": 0.15054,
    "h": 263
  },
  "luminance": 0.05068
}

Semantic roles & 50–950 ramp

primary
#123990
secondary
#C4993A
accent
#B934F4
background
#F6F6FB
surface
#ECEBF6
border
#C7C6D0
text
#080711
muted
#7A7A80

Preview Lab

Preview with #123990

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

Preview Lab → · Contrast checker → · Palette generator →

#123990 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva