#232A8F#232A8F

#232A8F is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.6% C 0.163 H 271.7°. Best body text is #FFFFFF at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#232A8F
RGBrgb(35, 42, 143)
HSLhsl(236, 61%, 35%)
HSVhsv(236, 76%, 56%)
CMYKcmyk(75.5%, 70.6%, 0%, 43.9%)
CIE-LABlab(23.66, 33.29, -56.36)
CIE-LCHlch(23.66, 65.46, 300.57°)
OKLaboklab(35.56% 0.0048 -0.163)
OKLCHoklch(35.56% 0.163 271.7)
XYZxyz(6.4773, 3.9957, 26.4112)
Luminance0.0400 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232A8F #8F8823
analogous
#23608F #232A8F #52238F
triadic
#232A8F #8F232A #2A8F23
tetradic
#232A8F #8F2360 #8F8823 #238F52
square
#232A8F #8F2360 #8F8823 #238F52
split-complementary
#232A8F #8F5223 #608F23
monochromatic
#0B0D2D #171C5E #232A8F #2F38C0 #575FD6

Accessibility & contrast

On white

11.67
#232A8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#232A8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232A8F
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232A8F#FFFFFF#000000##FFFFFF
##232A8F1.0011.671.8011.67
#FFFFFF11.671.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D92
Deuteranopia (green-blind)
#00338D
Tritanopia (blue-blind)
#004659
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #232a8f;
/* rgb */ color: rgb(35, 42, 143);
/* oklch */ color: oklch(35.6% 0.163 271.7);
Tailwind
colors: {
  custom: {
    50: '#7064b1',
    500: '#232a8f',
    950: '#000000',
  },
}
SCSS
$custom: #232a8f;
$custom-light: #7064b1;
$custom-dark: #000000;
JSON
{
  "hex": "#232a8f",
  "rgb": {
    "r": 35,
    "g": 42,
    "b": 143
  },
  "hsl": {
    "h": 236.111,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.35558,
    "c": 0.16311,
    "h": 271.7
  },
  "luminance": 0.03996
}

Semantic roles & 50–950 ramp

primary
#232A8F
secondary
#BAB354
accent
#D944E4
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #232A8F

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

Preview Lab → · Contrast checker → · Palette generator →

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