#232A78#232A78

#232A78 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.3% C 0.131 H 273.0°. Best body text is #FFFFFF at 12.55:1 contrast (WCAG AA passes).

Color values

HEX#232A78
RGBrgb(35, 42, 120)
HSLhsl(235, 55%, 30%)
HSVhsv(235, 71%, 47%)
CMYKcmyk(70.8%, 65%, 0%, 52.9%)
CIE-LABlab(21.46, 24.73, -45.49)
CIE-LCHlch(21.46, 51.78, 298.53°)
OKLaboklab(33.29% 0.0068 -0.1312)
OKLCHoklch(33.29% 0.131 273)
XYZxyz(4.9101, 3.3689, 18.1571)
Luminance0.0337 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232A78 #787123
analogous
#235478 #232A78 #462378
triadic
#232A78 #78232A #2A7823
tetradic
#232A78 #782354 #787123 #237846
square
#232A78 #782354 #787123 #237846
split-complementary
#232A78 #784623 #547823
monochromatic
#070919 #151949 #232A78 #313BA7 #4B55CA

Accessibility & contrast

On white

12.55
#232A78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#232A78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232A78
12.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232A78#FFFFFF#000000##FFFFFF
##232A781.0012.551.6712.55
#FFFFFF12.551.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377B
Deuteranopia (green-blind)
#003076
Tritanopia (blue-blind)
#003E4C
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #232a78;
/* rgb */ color: rgb(35, 42, 120);
/* oklch */ color: oklch(33.3% 0.131 273.0);
Tailwind
colors: {
  custom: {
    50: '#6a63a0',
    500: '#232a78',
    950: '#000000',
  },
}
SCSS
$custom: #232a78;
$custom-light: #6a63a0;
$custom-dark: #000000;
JSON
{
  "hex": "#232a78",
  "rgb": {
    "r": 35,
    "g": 42,
    "b": 120
  },
  "hsl": {
    "h": 235.059,
    "s": 54.839,
    "l": 30.392
  },
  "oklch": {
    "l": 0.33288,
    "c": 0.13142,
    "h": 273
  },
  "luminance": 0.03369
}

Semantic roles & 50–950 ramp

primary
#232A78
secondary
#ABA34C
accent
#D24ADE
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#07050F
muted
#7A797E

Preview Lab

Preview with #232A78

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

Preview Lab → · Contrast checker → · Palette generator →

#232A78 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva