#232C7B#232C7B

#232C7B is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.0% C 0.133 H 272.2°. Best body text is #FFFFFF at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#232C7B
RGBrgb(35, 44, 123)
HSLhsl(234, 56%, 31%)
HSVhsv(234, 72%, 48%)
CMYKcmyk(71.5%, 64.2%, 0%, 51.8%)
CIE-LABlab(22.26, 24.50, -46.10)
CIE-LCHlch(22.26, 52.21, 297.99°)
OKLaboklab(33.96% 0.005 -0.133)
OKLCHoklch(33.96% 0.133 272.2)
XYZxyz(5.1678, 3.5883, 19.1553)
Luminance0.0359 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232C7B #7B7223
analogous
#23587B #232C7B #46237B
triadic
#232C7B #7B232C #2C7B23
tetradic
#232C7B #7B2358 #7B7223 #237B46
square
#232C7B #7B2358 #7B7223 #237B46
split-complementary
#232C7B #7B4623 #587B23
monochromatic
#080A1C #151B4B #232C7B #313DAB #4C59CC

Accessibility & contrast

On white

12.22
#232C7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#232C7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232C7B
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232C7B#FFFFFF#000000##FFFFFF
##232C7B1.0012.221.7212.22
#FFFFFF12.221.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397E
Deuteranopia (green-blind)
#003179
Tritanopia (blue-blind)
#00404F
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #232c7b;
/* rgb */ color: rgb(35, 44, 123);
/* oklch */ color: oklch(34.0% 0.133 272.2);
Tailwind
colors: {
  custom: {
    50: '#6b65a2',
    500: '#232c7b',
    950: '#000000',
  },
}
SCSS
$custom: #232c7b;
$custom-light: #6b65a2;
$custom-dark: #000000;
JSON
{
  "hex": "#232c7b",
  "rgb": {
    "r": 35,
    "g": 44,
    "b": 123
  },
  "hsl": {
    "h": 233.864,
    "s": 55.696,
    "l": 30.98
  },
  "oklch": {
    "l": 0.33958,
    "c": 0.13311,
    "h": 272.2
  },
  "luminance": 0.03589
}

Semantic roles & 50–950 ramp

primary
#232C7B
secondary
#AEA44C
accent
#D049DF
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07050F
muted
#7A7A7F

Preview Lab

Preview with #232C7B

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

Preview Lab → · Contrast checker → · Palette generator →

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