#123370#123370

#123370 is a dark, moderate blue. Relative luminance 0.037; OKLCH L 33.7% C 0.113 H 261.3°. Best body text is #FFFFFF at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#123370
RGBrgb(18, 51, 112)
HSLhsl(219, 72%, 25%)
HSVhsv(219, 84%, 44%)
CMYKcmyk(83.9%, 54.5%, 0%, 56.1%)
CIE-LABlab(22.53, 12.85, -38.67)
CIE-LCHlch(22.53, 40.75, 288.38°)
OKLaboklab(33.65% -0.017 -0.1114)
OKLCHoklch(33.65% 0.113 261.3)
XYZxyz(4.3569, 3.6656, 15.8040)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123370 #704F12
analogous
#126270 #123370 #201270
triadic
#123370 #701233 #337012
tetradic
#123370 #701262 #704F12 #127020
square
#123370 #701262 #704F12 #127020
split-complementary
#123370 #702012 #627012
monochromatic
#040C1A #0A1B3B #123370 #1A4BA5 #2363D9

Accessibility & contrast

On white

12.12
#123370 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#123370 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123370
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123370#FFFFFF#000000##FFFFFF
##1233701.0012.121.7312.12
#FFFFFF12.121.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#083A72
Deuteranopia (green-blind)
#00326F
Tritanopia (blue-blind)
#00424C
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #123370;
/* rgb */ color: rgb(18, 51, 112);
/* oklch */ color: oklch(33.7% 0.113 261.3);
Tailwind
colors: {
  custom: {
    50: '#616a9a',
    500: '#123370',
    950: '#000000',
  },
}
SCSS
$custom: #123370;
$custom-light: #616a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#123370",
  "rgb": {
    "r": 18,
    "g": 51,
    "b": 112
  },
  "hsl": {
    "h": 218.936,
    "s": 72.308,
    "l": 25.49
  },
  "oklch": {
    "l": 0.33653,
    "c": 0.1127,
    "h": 261.3
  },
  "luminance": 0.03666
}

Semantic roles & 50–950 ramp

primary
#123370
secondary
#A78037
accent
#AF39EF
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #123370

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

Preview Lab → · Contrast checker → · Palette generator →

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