#123375#123375

#123375 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.1% C 0.120 H 262.2°. Best body text is #FFFFFF at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#123375
RGBrgb(18, 51, 117)
HSLhsl(220, 73%, 26%)
HSVhsv(220, 85%, 46%)
CMYKcmyk(84.6%, 56.4%, 0%, 54.1%)
CIE-LABlab(22.93, 14.97, -41.23)
CIE-LCHlch(22.93, 43.86, 289.96°)
OKLaboklab(34.08% -0.0164 -0.1189)
OKLCHoklch(34.08% 0.12 262.2)
XYZxyz(4.6430, 3.7800, 17.3111)
Luminance0.0378 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123375 #755412
analogous
#126575 #123375 #231275
triadic
#123375 #751233 #337512
tetradic
#123375 #751265 #755412 #127523
square
#123375 #751265 #755412 #127523
split-complementary
#123375 #752312 #657512
monochromatic
#040C1B #0A1C40 #123375 #1A4AAA #2462DD

Accessibility & contrast

On white

11.96
#123375 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#123375 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123375
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123375#FFFFFF#000000##FFFFFF
##1233751.0011.961.7611.96
#FFFFFF11.961.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B77
Deuteranopia (green-blind)
#003274
Tritanopia (blue-blind)
#00434E
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #123375;
/* rgb */ color: rgb(18, 51, 117);
/* oklch */ color: oklch(34.1% 0.120 262.2);
Tailwind
colors: {
  custom: {
    50: '#636a9d',
    500: '#123375',
    950: '#000000',
  },
}
SCSS
$custom: #123375;
$custom-light: #636a9d;
$custom-dark: #000000;
JSON
{
  "hex": "#123375",
  "rgb": {
    "r": 18,
    "g": 51,
    "b": 117
  },
  "hsl": {
    "h": 220,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.3408,
    "c": 0.12005,
    "h": 262.2
  },
  "luminance": 0.03781
}

Semantic roles & 50–950 ramp

primary
#123375
secondary
#AC8537
accent
#B338F0
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #123375

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

Preview Lab → · Contrast checker → · Palette generator →

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