#12357C#12357C

#12357C is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.1% C 0.128 H 262.3°. Best body text is #FFFFFF at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#12357C
RGBrgb(18, 53, 124)
HSLhsl(220, 75%, 28%)
HSVhsv(220, 85%, 49%)
CMYKcmyk(85.5%, 57.3%, 0%, 51.4%)
CIE-LABlab(24.09, 16.49, -43.78)
CIE-LCHlch(24.09, 46.78, 290.64°)
OKLaboklab(35.14% -0.0172 -0.1264)
OKLCHoklch(35.14% 0.128 262.3)
XYZxyz(5.1593, 4.1294, 19.5900)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12357C #7C5912
analogous
#126A7C #12357C #24127C
triadic
#12357C #7C1235 #357C12
tetradic
#12357C #7C126A #7C5912 #127C24
square
#12357C #7C126A #7C5912 #127C24
split-complementary
#12357C #7C2412 #6A7C12
monochromatic
#040B1B #0A1E47 #12357C #1A4CB1 #2965E0

Accessibility & contrast

On white

11.50
#12357C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#12357C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12357C
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12357C#FFFFFF#000000##FFFFFF
##12357C1.0011.501.8311.50
#FFFFFF11.501.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7E
Deuteranopia (green-blind)
#00357B
Tritanopia (blue-blind)
#004753
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #12357c;
/* rgb */ color: rgb(18, 53, 124);
/* oklch */ color: oklch(35.1% 0.128 262.3);
Tailwind
colors: {
  custom: {
    50: '#646ba3',
    500: '#12357c',
    950: '#000000',
  },
}
SCSS
$custom: #12357c;
$custom-light: #646ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#12357c",
  "rgb": {
    "r": 18,
    "g": 53,
    "b": 124
  },
  "hsl": {
    "h": 220.189,
    "s": 74.648,
    "l": 27.843
  },
  "oklch": {
    "l": 0.35141,
    "c": 0.12756,
    "h": 262.3
  },
  "luminance": 0.0413
}

Semantic roles & 50–950 ramp

primary
#12357C
secondary
#B28A38
accent
#B437F1
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#06060F
muted
#7A7A7F

Preview Lab

Preview with #12357C

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

Preview Lab → · Contrast checker → · Palette generator →

#12357C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva