#233C8A#233C8A

#233C8A is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.6% C 0.134 H 266.6°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#233C8A
RGBrgb(35, 60, 138)
HSLhsl(225, 60%, 34%)
HSVhsv(225, 75%, 54%)
CMYKcmyk(74.6%, 56.5%, 0%, 45.9%)
CIE-LABlab(27.91, 19.27, -46.31)
CIE-LCHlch(27.91, 50.16, 292.59°)
OKLaboklab(38.56% -0.0079 -0.1334)
OKLCHoklch(38.56% 0.134 266.6)
XYZxyz(6.8948, 5.4233, 24.7233)
Luminance0.0542 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233C8A #8A7123
analogous
#23708A #233C8A #3E238A
triadic
#233C8A #8A233C #3C8A23
tetradic
#233C8A #8A2370 #8A7123 #238A3E
square
#233C8A #8A2370 #8A7123 #238A3E
split-complementary
#233C8A #8A3E23 #708A23
monochromatic
#0A1228 #172759 #233C8A #2F51BB #5473D4

Accessibility & contrast

On white

10.07
#233C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#233C8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233C8A
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233C8A#FFFFFF#000000##FFFFFF
##233C8A1.0010.072.0810.07
#FFFFFF10.071.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478D
Deuteranopia (green-blind)
#003D88
Tritanopia (blue-blind)
#004F5D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #233c8a;
/* rgb */ color: rgb(35, 60, 138);
/* oklch */ color: oklch(38.6% 0.134 266.6);
Tailwind
colors: {
  custom: {
    50: '#6d71ad',
    500: '#233c8a',
    950: '#000000',
  },
}
SCSS
$custom: #233c8a;
$custom-light: #6d71ad;
$custom-dark: #000000;
JSON
{
  "hex": "#233c8a",
  "rgb": {
    "r": 35,
    "g": 60,
    "b": 138
  },
  "hsl": {
    "h": 225.437,
    "s": 59.538,
    "l": 33.922
  },
  "oklch": {
    "l": 0.38561,
    "c": 0.13365,
    "h": 266.6
  },
  "luminance": 0.05424
}

Semantic roles & 50–950 ramp

primary
#233C8A
secondary
#B79F51
accent
#BC45E3
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #233C8A

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

Preview Lab → · Contrast checker → · Palette generator →

#233C8A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva