#232E75#232E75

#232E75 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 33.8% C 0.122 H 271.6°. Best body text is #FFFFFF at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#232E75
RGBrgb(35, 46, 117)
HSLhsl(232, 54%, 30%)
HSVhsv(232, 70%, 46%)
CMYKcmyk(70.1%, 60.7%, 0%, 54.1%)
CIE-LABlab(22.29, 20.81, -42.24)
CIE-LCHlch(22.29, 47.09, 296.23°)
OKLaboklab(33.82% 0.0034 -0.1216)
OKLCHoklch(33.82% 0.122 271.6)
XYZxyz(4.8799, 3.5952, 17.2629)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232E75 #756A23
analogous
#235775 #232E75 #412375
triadic
#232E75 #75232E #2E7523
tetradic
#232E75 #752357 #756A23 #237541
square
#232E75 #752357 #756A23 #237541
split-complementary
#232E75 #754123 #577523
monochromatic
#070918 #151B46 #232E75 #3141A4 #4A5BC9

Accessibility & contrast

On white

12.21
#232E75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #232E75
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232E75#FFFFFF#000000##FFFFFF
##232E751.0012.211.7212.21
#FFFFFF12.211.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003977
Deuteranopia (green-blind)
#003274
Tritanopia (blue-blind)
#003F4C
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #232e75;
/* rgb */ color: rgb(35, 46, 117);
/* oklch */ color: oklch(33.8% 0.122 271.6);
Tailwind
colors: {
  custom: {
    50: '#69669d',
    500: '#232e75',
    950: '#000000',
  },
}
SCSS
$custom: #232e75;
$custom-light: #69669d;
$custom-dark: #000000;
JSON
{
  "hex": "#232e75",
  "rgb": {
    "r": 35,
    "g": 46,
    "b": 117
  },
  "hsl": {
    "h": 231.951,
    "s": 53.947,
    "l": 29.804
  },
  "oklch": {
    "l": 0.33815,
    "c": 0.12169,
    "h": 271.6
  },
  "luminance": 0.03596
}

Semantic roles & 50–950 ramp

primary
#232E75
secondary
#A89C4C
accent
#CA4ADD
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #232E75

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

Preview Lab → · Contrast checker → · Palette generator →

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