#123970#123970

#123970 is a dark, moderate blue. Relative luminance 0.042; OKLCH L 35.1% C 0.105 H 257.9°. Best body text is #FFFFFF at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#123970
RGBrgb(18, 57, 112)
HSLhsl(215, 72%, 25%)
HSVhsv(215, 84%, 44%)
CMYKcmyk(83.9%, 49.1%, 0%, 56.1%)
CIE-LABlab(24.40, 8.55, -35.66)
CIE-LCHlch(24.40, 36.67, 283.49°)
OKLaboklab(35.08% -0.022 -0.1024)
OKLCHoklch(35.08% 0.105 257.9)
XYZxyz(4.6361, 4.2241, 15.8971)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123970 #704912
analogous
#126870 #123970 #1A1270
triadic
#123970 #701239 #397012
tetradic
#123970 #701268 #704912 #12701A
square
#123970 #701268 #704912 #12701A
split-complementary
#123970 #701A12 #687012
monochromatic
#040D1A #0A1E3B #123970 #1A54A5 #236FD9

Accessibility & contrast

On white

11.38
#123970 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#123970 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123970
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123970#FFFFFF#000000##FFFFFF
##1239701.0011.381.8511.38
#FFFFFF11.381.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3F72
Deuteranopia (green-blind)
#02366F
Tritanopia (blue-blind)
#00464F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #123970;
/* rgb */ color: rgb(18, 57, 112);
/* oklch */ color: oklch(35.1% 0.105 257.9);
Tailwind
colors: {
  custom: {
    50: '#616e99',
    500: '#123970',
    950: '#000000',
  },
}
SCSS
$custom: #123970;
$custom-light: #616e99;
$custom-dark: #000000;
JSON
{
  "hex": "#123970",
  "rgb": {
    "r": 18,
    "g": 57,
    "b": 112
  },
  "hsl": {
    "h": 215.106,
    "s": 72.308,
    "l": 25.49
  },
  "oklch": {
    "l": 0.35083,
    "c": 0.10475,
    "h": 257.9
  },
  "luminance": 0.04225
}

Semantic roles & 50–950 ramp

primary
#123970
secondary
#A77837
accent
#A339EF
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #123970

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

Preview Lab → · Contrast checker → · Palette generator →

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