#123273#123273

#123273 is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.7% C 0.118 H 262.3°. Best body text is #FFFFFF at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#123273
RGBrgb(18, 50, 115)
HSLhsl(220, 73%, 26%)
HSVhsv(220, 84%, 45%)
CMYKcmyk(84.3%, 56.5%, 0%, 54.9%)
CIE-LABlab(22.47, 14.85, -40.70)
CIE-LCHlch(22.47, 43.32, 290.04°)
OKLaboklab(33.68% -0.0158 -0.1174)
OKLCHoklch(33.68% 0.118 262.3)
XYZxyz(4.4835, 3.6471, 16.6840)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123273 #735312
analogous
#126273 #123273 #221273
triadic
#123273 #731232 #327312
tetradic
#123273 #731262 #735312 #127322
square
#123273 #731262 #735312 #127322
split-complementary
#123273 #732212 #627312
monochromatic
#040C1A #0A1B3E #123273 #1A49A8 #2360DD

Accessibility & contrast

On white

12.14
#123273 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #123273
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123273#FFFFFF#000000##FFFFFF
##1232731.0012.141.7312.14
#FFFFFF12.141.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A75
Deuteranopia (green-blind)
#003172
Tritanopia (blue-blind)
#00424D
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #123273;
/* rgb */ color: rgb(18, 50, 115);
/* oklch */ color: oklch(33.7% 0.118 262.3);
Tailwind
colors: {
  custom: {
    50: '#62699c',
    500: '#123273',
    950: '#000000',
  },
}
SCSS
$custom: #123273;
$custom-light: #62699c;
$custom-dark: #000000;
JSON
{
  "hex": "#123273",
  "rgb": {
    "r": 18,
    "g": 50,
    "b": 115
  },
  "hsl": {
    "h": 220.206,
    "s": 72.932,
    "l": 26.078
  },
  "oklch": {
    "l": 0.33679,
    "c": 0.11846,
    "h": 262.3
  },
  "luminance": 0.03648
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #123273

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

Preview Lab → · Contrast checker → · Palette generator →

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