#232C7A#232C7A

#232C7A is a dark, vivid blue. Relative luminance 0.036; OKLCH L 33.9% C 0.132 H 272.2°. Best body text is #FFFFFF at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#232C7A
RGBrgb(35, 44, 122)
HSLhsl(234, 55%, 31%)
HSVhsv(234, 71%, 48%)
CMYKcmyk(71.3%, 63.9%, 0%, 52.2%)
CIE-LABlab(22.17, 24.12, -45.61)
CIE-LCHlch(22.17, 51.60, 297.87°)
OKLaboklab(33.87% 0.0051 -0.1316)
OKLCHoklch(33.87% 0.132 272.2)
XYZxyz(5.1055, 3.5633, 18.8273)
Luminance0.0356 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232C7A #7A7123
analogous
#23577A #232C7A #45237A
triadic
#232C7A #7A232C #2C7A23
tetradic
#232C7A #7A2357 #7A7123 #237A45
square
#232C7A #7A2357 #7A7123 #237A45
split-complementary
#232C7A #7A4523 #577A23
monochromatic
#080A1B #151B4A #232C7A #313DAA #4C59CC

Accessibility & contrast

On white

12.26
#232C7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#232C7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232C7A
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232C7A#FFFFFF#000000##FFFFFF
##232C7A1.0012.261.7112.26
#FFFFFF12.261.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397D
Deuteranopia (green-blind)
#003178
Tritanopia (blue-blind)
#00404E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #232c7a;
/* rgb */ color: rgb(35, 44, 122);
/* oklch */ color: oklch(33.9% 0.132 272.2);
Tailwind
colors: {
  custom: {
    50: '#6a65a1',
    500: '#232c7a',
    950: '#000000',
  },
}
SCSS
$custom: #232c7a;
$custom-light: #6a65a1;
$custom-dark: #000000;
JSON
{
  "hex": "#232c7a",
  "rgb": {
    "r": 35,
    "g": 44,
    "b": 122
  },
  "hsl": {
    "h": 233.793,
    "s": 55.414,
    "l": 30.784
  },
  "oklch": {
    "l": 0.33865,
    "c": 0.13167,
    "h": 272.2
  },
  "luminance": 0.03564
}

Semantic roles & 50–950 ramp

primary
#232C7A
secondary
#ADA34C
accent
#CF49DF
background
#F6F6FA
surface
#ECEBF3
border
#C7C6CD
text
#07050F
muted
#7A7A7F

Preview Lab

Preview with #232C7A

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

Preview Lab → · Contrast checker → · Palette generator →

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