#123076#123076

#123076 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 33.5% C 0.126 H 263.5°. Best body text is #FFFFFF at 12.28:1 contrast (WCAG AA passes).

Color values

HEX#123076
RGBrgb(18, 48, 118)
HSLhsl(222, 74%, 27%)
HSVhsv(222, 85%, 46%)
CMYKcmyk(84.7%, 59.3%, 0%, 53.7%)
CIE-LABlab(22.12, 17.56, -43.17)
CIE-LCHlch(22.12, 46.61, 292.13°)
OKLaboklab(33.5% -0.0141 -0.1247)
OKLCHoklch(33.5% 0.126 263.5)
XYZxyz(4.5753, 3.5500, 17.5801)
Luminance0.0355 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123076 #765812
analogous
#126276 #123076 #261276
triadic
#123076 #761230 #307612
tetradic
#123076 #761262 #765812 #127626
square
#123076 #761262 #765812 #127626
split-complementary
#123076 #762612 #627612
monochromatic
#040B1B #0A1A41 #123076 #1A46AB #255CDE

Accessibility & contrast

On white

12.28
#123076 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#123076 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123076
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123076#FFFFFF#000000##FFFFFF
##1230761.0012.281.7112.28
#FFFFFF12.281.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A78
Deuteranopia (green-blind)
#003175
Tritanopia (blue-blind)
#00424E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #123076;
/* rgb */ color: rgb(18, 48, 118);
/* oklch */ color: oklch(33.5% 0.126 263.5);
Tailwind
colors: {
  custom: {
    50: '#63679e',
    500: '#123076',
    950: '#000000',
  },
}
SCSS
$custom: #123076;
$custom-light: #63679e;
$custom-dark: #000000;
JSON
{
  "hex": "#123076",
  "rgb": {
    "r": 18,
    "g": 48,
    "b": 118
  },
  "hsl": {
    "h": 222,
    "s": 73.529,
    "l": 26.667
  },
  "oklch": {
    "l": 0.33497,
    "c": 0.12552,
    "h": 263.5
  },
  "luminance": 0.03551
}

Semantic roles & 50–950 ramp

primary
#123076
secondary
#AD8937
accent
#B938F0
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #123076

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

Preview Lab → · Contrast checker → · Palette generator →

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