#232AAF#232AAF

#232AAF is a dark, highly saturated blue. Relative luminance 0.051; OKLCH L 39.0% C 0.204 H 270.0°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#232AAF
RGBrgb(35, 42, 175)
HSLhsl(237, 67%, 41%)
HSVhsv(237, 80%, 69%)
CMYKcmyk(80%, 76%, 0%, 31.4%)
CIE-LABlab(27.04, 44.53, -70.27)
CIE-LCHlch(27.04, 83.20, 302.36°)
OKLaboklab(38.98% 0.0001 -0.2035)
OKLCHoklch(38.98% 0.204 270)
XYZxyz(9.2563, 5.1073, 41.0471)
Luminance0.0511 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232AAF #AFA823
analogous
#2370AF #232AAF #6223AF
triadic
#232AAF #AF232A #2AAF23
tetradic
#232AAF #AF2370 #AFA823 #23AF62
square
#232AAF #AF2370 #AFA823 #23AF62
split-complementary
#232AAF #AF6223 #70AF23
monochromatic
#0F1249 #191E7C #232AAF #3840D7 #6B71E1

Accessibility & contrast

On white

10.39
#232AAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#232AAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232AAF
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232AAF#FFFFFF#000000##FFFFFF
##232AAF1.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B3
Deuteranopia (green-blind)
#0039AD
Tritanopia (blue-blind)
#00526B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #232aaf;
/* rgb */ color: rgb(35, 42, 175);
/* oklch */ color: oklch(39.0% 0.204 270.0);
Tailwind
colors: {
  custom: {
    50: '#7865c8',
    500: '#232aaf',
    950: '#000000',
  },
}
SCSS
$custom: #232aaf;
$custom-light: #7865c8;
$custom-dark: #000000;
JSON
{
  "hex": "#232aaf",
  "rgb": {
    "r": 35,
    "g": 42,
    "b": 175
  },
  "hsl": {
    "h": 237,
    "s": 66.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.38983,
    "c": 0.20355,
    "h": 270
  },
  "luminance": 0.05108
}

Semantic roles & 50–950 ramp

primary
#232AAF
secondary
#C7C366
accent
#E13EEA
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #232AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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