#232A7A#232A7A

#232A7A is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.5% C 0.134 H 272.9°. Best body text is #FFFFFF at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#232A7A
RGBrgb(35, 42, 122)
HSLhsl(235, 55%, 31%)
HSVhsv(235, 71%, 48%)
CMYKcmyk(71.3%, 65.6%, 0%, 52.2%)
CIE-LABlab(21.65, 25.49, -46.47)
CIE-LCHlch(21.65, 53.00, 298.75°)
OKLaboklab(33.48% 0.0067 -0.1341)
OKLCHoklch(33.48% 0.134 272.9)
XYZxyz(5.0328, 3.4179, 18.8031)
Luminance0.0342 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232A7A #7A7323
analogous
#23557A #232A7A #47237A
triadic
#232A7A #7A232A #2A7A23
tetradic
#232A7A #7A2355 #7A7323 #237A47
square
#232A7A #7A2355 #7A7323 #237A47
split-complementary
#232A7A #7A4723 #557A23
monochromatic
#08091B #151A4A #232A7A #313AAA #4C56CC

Accessibility & contrast

On white

12.47
#232A7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#232A7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232A7A
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232A7A#FFFFFF#000000##FFFFFF
##232A7A1.0012.471.6812.47
#FFFFFF12.471.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387D
Deuteranopia (green-blind)
#003078
Tritanopia (blue-blind)
#003F4E
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #232a7a;
/* rgb */ color: rgb(35, 42, 122);
/* oklch */ color: oklch(33.5% 0.134 272.9);
Tailwind
colors: {
  custom: {
    50: '#6b63a1',
    500: '#232a7a',
    950: '#000000',
  },
}
SCSS
$custom: #232a7a;
$custom-light: #6b63a1;
$custom-dark: #000000;
JSON
{
  "hex": "#232a7a",
  "rgb": {
    "r": 35,
    "g": 42,
    "b": 122
  },
  "hsl": {
    "h": 235.172,
    "s": 55.414,
    "l": 30.784
  },
  "oklch": {
    "l": 0.33478,
    "c": 0.13428,
    "h": 272.9
  },
  "luminance": 0.03418
}

Semantic roles & 50–950 ramp

primary
#232A7A
secondary
#ADA54C
accent
#D349DF
background
#F6F5FA
surface
#ECEAF3
border
#C7C6CD
text
#07050F
muted
#7A797F

Preview Lab

Preview with #232A7A

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

Preview Lab → · Contrast checker → · Palette generator →

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