#12357E#12357E

#12357E is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.3% C 0.130 H 262.5°. Best body text is #FFFFFF at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#12357E
RGBrgb(18, 53, 126)
HSLhsl(221, 75%, 28%)
HSVhsv(221, 86%, 49%)
CMYKcmyk(85.7%, 57.9%, 0%, 50.6%)
CIE-LABlab(24.26, 17.33, -44.77)
CIE-LCHlch(24.26, 48.01, 291.16°)
OKLaboklab(35.32% -0.017 -0.1293)
OKLCHoklch(35.32% 0.13 262.5)
XYZxyz(5.2871, 4.1805, 20.2629)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12357E #7E5B12
analogous
#126B7E #12357E #25127E
triadic
#12357E #7E1235 #357E12
tetradic
#12357E #7E126B #7E5B12 #127E25
square
#12357E #7E126B #7E5B12 #127E25
split-complementary
#12357E #7E2512 #6B7E12
monochromatic
#040B1B #0A1E48 #12357E #1A4CB4 #2A65E1

Accessibility & contrast

On white

11.44
#12357E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#12357E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12357E
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12357E#FFFFFF#000000##FFFFFF
##12357E1.0011.441.8411.44
#FFFFFF11.441.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F81
Deuteranopia (green-blind)
#00357D
Tritanopia (blue-blind)
#004754
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #12357e;
/* rgb */ color: rgb(18, 53, 126);
/* oklch */ color: oklch(35.3% 0.130 262.5);
Tailwind
colors: {
  custom: {
    50: '#656ba4',
    500: '#12357e',
    950: '#000000',
  },
}
SCSS
$custom: #12357e;
$custom-light: #656ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#12357e",
  "rgb": {
    "r": 18,
    "g": 53,
    "b": 126
  },
  "hsl": {
    "h": 220.556,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.35318,
    "c": 0.13043,
    "h": 262.5
  },
  "luminance": 0.04181
}

Semantic roles & 50–950 ramp

primary
#12357E
secondary
#B48C38
accent
#B536F2
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #12357E

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

Preview Lab → · Contrast checker → · Palette generator →

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