#232D7C#232D7C

#232D7C is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.2% C 0.133 H 271.8°. Best body text is #FFFFFF at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#232D7C
RGBrgb(35, 45, 124)
HSLhsl(233, 56%, 31%)
HSVhsv(233, 72%, 49%)
CMYKcmyk(71.8%, 63.7%, 0%, 51.4%)
CIE-LABlab(22.61, 24.20, -46.16)
CIE-LCHlch(22.61, 52.11, 297.67°)
OKLaboklab(34.25% 0.0042 -0.1332)
OKLCHoklch(34.25% 0.133 271.8)
XYZxyz(5.2684, 3.6888, 19.4992)
Luminance0.0369 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232D7C #7C7223
analogous
#23597C #232D7C #45237C
triadic
#232D7C #7C232D #2D7C23
tetradic
#232D7C #7C2359 #7C7223 #237C45
square
#232D7C #7C2359 #7C7223 #237C45
split-complementary
#232D7C #7C4523 #597C23
monochromatic
#080A1D #161C4C #232D7C #303EAC #4D5BCD

Accessibility & contrast

On white

12.08
#232D7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#232D7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232D7C
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232D7C#FFFFFF#000000##FFFFFF
##232D7C1.0012.081.7412.08
#FFFFFF12.081.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7F
Deuteranopia (green-blind)
#00327A
Tritanopia (blue-blind)
#004150
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #232d7c;
/* rgb */ color: rgb(35, 45, 124);
/* oklch */ color: oklch(34.2% 0.133 271.8);
Tailwind
colors: {
  custom: {
    50: '#6b65a3',
    500: '#232d7c',
    950: '#000000',
  },
}
SCSS
$custom: #232d7c;
$custom-light: #6b65a3;
$custom-dark: #000000;
JSON
{
  "hex": "#232d7c",
  "rgb": {
    "r": 35,
    "g": 45,
    "b": 124
  },
  "hsl": {
    "h": 233.258,
    "s": 55.975,
    "l": 31.176
  },
  "oklch": {
    "l": 0.34247,
    "c": 0.13323,
    "h": 271.8
  },
  "luminance": 0.03689
}

Semantic roles & 50–950 ramp

primary
#232D7C
secondary
#AFA34C
accent
#CE49DF
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07050F
muted
#7A7A7F

Preview Lab

Preview with #232D7C

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

Preview Lab → · Contrast checker → · Palette generator →

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