#232A6E#232A6E

#232A6E is a dark, moderate blue. Relative luminance 0.031; OKLCH L 32.4% C 0.117 H 273.5°. Best body text is #FFFFFF at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#232A6E
RGBrgb(35, 42, 110)
HSLhsl(234, 52%, 28%)
HSVhsv(234, 68%, 43%)
CMYKcmyk(68.2%, 61.8%, 0%, 56.9%)
CIE-LABlab(20.59, 20.92, -40.49)
CIE-LCHlch(20.59, 45.58, 297.32°)
OKLaboklab(32.37% 0.0071 -0.1166)
OKLCHoklch(32.37% 0.117 273.5)
XYZxyz(4.3346, 3.1387, 15.1262)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232A6E #6E6723
analogous
#234F6E #232A6E #41236E
triadic
#232A6E #6E232A #2A6E23
tetradic
#232A6E #6E234F #6E6723 #236E41
square
#232A6E #6E234F #6E6723 #236E41
split-complementary
#232A6E #6E4123 #4F6E23
monochromatic
#070917 #141840 #232A6E #323C9C #4753C4

Accessibility & contrast

On white

12.90
#232A6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #232A6E
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232A6E#FFFFFF#000000##FFFFFF
##232A6E1.0012.901.6312.90
#FFFFFF12.901.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003570
Deuteranopia (green-blind)
#002E6D
Tritanopia (blue-blind)
#003B47
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #232a6e;
/* rgb */ color: rgb(35, 42, 110);
/* oklch */ color: oklch(32.4% 0.117 273.5);
Tailwind
colors: {
  custom: {
    50: '#686398',
    500: '#232a6e',
    950: '#000000',
  },
}
SCSS
$custom: #232a6e;
$custom-light: #686398;
$custom-dark: #000000;
JSON
{
  "hex": "#232a6e",
  "rgb": {
    "r": 35,
    "g": 42,
    "b": 110
  },
  "hsl": {
    "h": 234.4,
    "s": 51.724,
    "l": 28.431
  },
  "oklch": {
    "l": 0.32371,
    "c": 0.11678,
    "h": 273.5
  },
  "luminance": 0.03139
}

Semantic roles & 50–950 ramp

primary
#232A6E
secondary
#A1994C
accent
#CE4DDB
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #232A6E

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

Preview Lab → · Contrast checker → · Palette generator →

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