#232D9F#232D9F

#232D9F is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.7% C 0.181 H 270.4°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#232D9F
RGBrgb(35, 45, 159)
HSLhsl(235, 64%, 38%)
HSVhsv(235, 78%, 62%)
CMYKcmyk(78%, 71.7%, 0%, 37.6%)
CIE-LABlab(25.97, 37.18, -62.38)
CIE-LCHlch(25.97, 72.62, 300.80°)
OKLaboklab(37.71% 0.0012 -0.1806)
OKLCHoklch(37.71% 0.181 270.4)
XYZxyz(7.8874, 4.7364, 33.2927)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232D9F #9F9523
analogous
#236B9F #232D9F #57239F
triadic
#232D9F #9F232D #2D9F23
tetradic
#232D9F #9F236B #9F9523 #239F57
square
#232D9F #9F236B #9F9523 #239F57
split-complementary
#232D9F #9F5723 #6B9F23
monochromatic
#0D113B #181F6D #232D9F #2E3BD1 #606ADC

Accessibility & contrast

On white

10.78
#232D9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#232D9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232D9F
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232D9F#FFFFFF#000000##FFFFFF
##232D9F1.0010.781.9510.78
#FFFFFF10.781.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A2
Deuteranopia (green-blind)
#00379D
Tritanopia (blue-blind)
#004D63
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #232d9f;
/* rgb */ color: rgb(35, 45, 159);
/* oklch */ color: oklch(37.7% 0.181 270.4);
Tailwind
colors: {
  custom: {
    50: '#7466bd',
    500: '#232d9f',
    950: '#000000',
  },
}
SCSS
$custom: #232d9f;
$custom-light: #7466bd;
$custom-dark: #000000;
JSON
{
  "hex": "#232d9f",
  "rgb": {
    "r": 35,
    "g": 45,
    "b": 159
  },
  "hsl": {
    "h": 235.161,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.37714,
    "c": 0.1806,
    "h": 270.4
  },
  "luminance": 0.04737
}

Semantic roles & 50–950 ramp

primary
#232D9F
secondary
#C1B95D
accent
#DA41E7
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #232D9F

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

Preview Lab → · Contrast checker → · Palette generator →

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