#123A76#123A76

#123A76 is a dark, moderate blue. Relative luminance 0.045; OKLCH L 35.8% C 0.112 H 258.8°. Best body text is #FFFFFF at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#123A76
RGBrgb(18, 58, 118)
HSLhsl(216, 74%, 27%)
HSVhsv(216, 85%, 46%)
CMYKcmyk(84.7%, 50.8%, 0%, 53.7%)
CIE-LABlab(25.14, 10.39, -38.28)
CIE-LCHlch(25.14, 39.67, 285.19°)
OKLaboklab(35.79% -0.0217 -0.1101)
OKLCHoklch(35.79% 0.112 258.8)
XYZxyz(5.0313, 4.4621, 17.7321)
Luminance0.0446 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123A76 #764E12
analogous
#126C76 #123A76 #1C1276
triadic
#123A76 #76123A #3A7612
tetradic
#123A76 #76126C #764E12 #12761C
square
#123A76 #76126C #764E12 #12761C
split-complementary
#123A76 #761C12 #6C7612
monochromatic
#040D1B #0A2041 #123A76 #1A54AB #256FDE

Accessibility & contrast

On white

11.10
#123A76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#123A76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123A76
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123A76#FFFFFF#000000##FFFFFF
##123A761.0011.101.8911.10
#FFFFFF11.101.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174078
Deuteranopia (green-blind)
#003775
Tritanopia (blue-blind)
#004852
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #123a76;
/* rgb */ color: rgb(18, 58, 118);
/* oklch */ color: oklch(35.8% 0.112 258.8);
Tailwind
colors: {
  custom: {
    50: '#626f9e',
    500: '#123a76',
    950: '#000000',
  },
}
SCSS
$custom: #123a76;
$custom-light: #626f9e;
$custom-dark: #000000;
JSON
{
  "hex": "#123a76",
  "rgb": {
    "r": 18,
    "g": 58,
    "b": 118
  },
  "hsl": {
    "h": 216,
    "s": 73.529,
    "l": 26.667
  },
  "oklch": {
    "l": 0.35794,
    "c": 0.11225,
    "h": 258.8
  },
  "luminance": 0.04463
}

Semantic roles & 50–950 ramp

primary
#123A76
secondary
#AD7E37
accent
#A638F0
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #123A76

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

Preview Lab → · Contrast checker → · Palette generator →

#123A76 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva