#123A72#123A72

#123A72 is a dark, moderate blue. Relative luminance 0.044; OKLCH L 35.5% C 0.106 H 257.8°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#123A72
RGBrgb(18, 58, 114)
HSLhsl(215, 73%, 26%)
HSVhsv(215, 84%, 45%)
CMYKcmyk(84.2%, 49.1%, 0%, 55.3%)
CIE-LABlab(24.86, 8.70, -36.20)
CIE-LCHlch(24.86, 37.23, 283.51°)
OKLaboklab(35.48% -0.0224 -0.104)
OKLCHoklch(35.48% 0.106 257.8)
XYZxyz(4.7987, 4.3690, 16.5067)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123A72 #724A12
analogous
#126A72 #123A72 #1A1272
triadic
#123A72 #72123A #3A7212
tetradic
#123A72 #72126A #724A12 #12721A
square
#123A72 #72126A #724A12 #12721A
split-complementary
#123A72 #721A12 #6A7212
monochromatic
#040D1A #0A1F3D #123A72 #1A55A7 #2370DC

Accessibility & contrast

On white

11.21
#123A72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#123A72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123A72
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123A72#FFFFFF#000000##FFFFFF
##123A721.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4074
Deuteranopia (green-blind)
#013771
Tritanopia (blue-blind)
#004750
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #123a72;
/* rgb */ color: rgb(18, 58, 114);
/* oklch */ color: oklch(35.5% 0.106 257.8);
Tailwind
colors: {
  custom: {
    50: '#616f9b',
    500: '#123a72',
    950: '#000000',
  },
}
SCSS
$custom: #123a72;
$custom-light: #616f9b;
$custom-dark: #000000;
JSON
{
  "hex": "#123a72",
  "rgb": {
    "r": 18,
    "g": 58,
    "b": 114
  },
  "hsl": {
    "h": 215,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.3548,
    "c": 0.1064,
    "h": 257.8
  },
  "luminance": 0.0437
}

Semantic roles & 50–950 ramp

primary
#123A72
secondary
#A97937
accent
#A338EF
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #123A72

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

Preview Lab → · Contrast checker → · Palette generator →

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