#232A6F#232A6F

#232A6F is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.5% C 0.118 H 273.4°. Best body text is #FFFFFF at 12.87:1 contrast (WCAG AA passes).

Color values

HEX#232A6F
RGBrgb(35, 42, 111)
HSLhsl(234, 52%, 29%)
HSVhsv(234, 68%, 44%)
CMYKcmyk(68.5%, 62.2%, 0%, 56.5%)
CIE-LABlab(20.68, 21.30, -41.00)
CIE-LCHlch(20.68, 46.21, 297.45°)
OKLaboklab(32.46% 0.0071 -0.1181)
OKLCHoklch(32.46% 0.118 273.4)
XYZxyz(4.3894, 3.1606, 15.4146)
Luminance0.0316 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232A6F #6F6823
analogous
#23506F #232A6F #42236F
triadic
#232A6F #6F232A #2A6F23
tetradic
#232A6F #6F2350 #6F6823 #236F42
square
#232A6F #6F2350 #6F6823 #236F42
split-complementary
#232A6F #6F4223 #506F23
monochromatic
#070917 #141840 #232A6F #323C9E #4753C5

Accessibility & contrast

On white

12.87
#232A6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#232A6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232A6F
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232A6F#FFFFFF#000000##FFFFFF
##232A6F1.0012.871.6312.87
#FFFFFF12.871.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003571
Deuteranopia (green-blind)
#002E6E
Tritanopia (blue-blind)
#003B48
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #232a6f;
/* rgb */ color: rgb(35, 42, 111);
/* oklch */ color: oklch(32.5% 0.118 273.4);
Tailwind
colors: {
  custom: {
    50: '#686399',
    500: '#232a6f',
    950: '#000000',
  },
}
SCSS
$custom: #232a6f;
$custom-light: #686399;
$custom-dark: #000000;
JSON
{
  "hex": "#232a6f",
  "rgb": {
    "r": 35,
    "g": 42,
    "b": 111
  },
  "hsl": {
    "h": 234.474,
    "s": 52.055,
    "l": 28.627
  },
  "oklch": {
    "l": 0.3246,
    "c": 0.11827,
    "h": 273.4
  },
  "luminance": 0.03161
}

Semantic roles & 50–950 ramp

primary
#232A6F
secondary
#A29A4C
accent
#CE4CDB
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #232A6F

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

Preview Lab → · Contrast checker → · Palette generator →

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