#232A7B#232A7B

#232A7B is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.6% C 0.136 H 272.8°. Best body text is #FFFFFF at 12.44:1 contrast (WCAG AA passes).

Color values

HEX#232A7B
RGBrgb(35, 42, 123)
HSLhsl(235, 56%, 31%)
HSVhsv(235, 72%, 48%)
CMYKcmyk(71.5%, 65.9%, 0%, 51.8%)
CIE-LABlab(21.74, 25.87, -46.96)
CIE-LCHlch(21.74, 53.61, 298.85°)
OKLaboklab(33.57% 0.0067 -0.1355)
OKLCHoklch(33.57% 0.136 272.8)
XYZxyz(5.0951, 3.4428, 19.1311)
Luminance0.0344 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232A7B #7B7423
analogous
#23567B #232A7B #48237B
triadic
#232A7B #7B232A #2A7B23
tetradic
#232A7B #7B2356 #7B7423 #237B48
square
#232A7B #7B2356 #7B7423 #237B48
split-complementary
#232A7B #7B4823 #567B23
monochromatic
#08091C #151A4B #232A7B #313AAB #4C56CC

Accessibility & contrast

On white

12.44
#232A7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#232A7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232A7B
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232A7B#FFFFFF#000000##FFFFFF
##232A7B1.0012.441.6912.44
#FFFFFF12.441.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387E
Deuteranopia (green-blind)
#003079
Tritanopia (blue-blind)
#003F4E
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #232a7b;
/* rgb */ color: rgb(35, 42, 123);
/* oklch */ color: oklch(33.6% 0.136 272.8);
Tailwind
colors: {
  custom: {
    50: '#6b63a2',
    500: '#232a7b',
    950: '#000000',
  },
}
SCSS
$custom: #232a7b;
$custom-light: #6b63a2;
$custom-dark: #000000;
JSON
{
  "hex": "#232a7b",
  "rgb": {
    "r": 35,
    "g": 42,
    "b": 123
  },
  "hsl": {
    "h": 235.227,
    "s": 55.696,
    "l": 30.98
  },
  "oklch": {
    "l": 0.33573,
    "c": 0.13569,
    "h": 272.8
  },
  "luminance": 0.03443
}

Semantic roles & 50–950 ramp

primary
#232A7B
secondary
#AEA64C
accent
#D349DF
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #232A7B

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

Preview Lab → · Contrast checker → · Palette generator →

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