#233C8E#233C8E

#233C8E is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.9% C 0.139 H 266.8°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#233C8E
RGBrgb(35, 60, 142)
HSLhsl(226, 60%, 35%)
HSVhsv(226, 75%, 56%)
CMYKcmyk(75.4%, 57.7%, 0%, 44.3%)
CIE-LABlab(28.22, 20.84, -48.27)
CIE-LCHlch(28.22, 52.58, 293.35°)
OKLaboklab(38.9% -0.0077 -0.1392)
OKLCHoklch(38.9% 0.139 266.8)
XYZxyz(7.1898, 5.5413, 26.2766)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233C8E #8E7523
analogous
#23728E #233C8E #3F238E
triadic
#233C8E #8E233C #3C8E23
tetradic
#233C8E #8E2372 #8E7523 #238E3F
square
#233C8E #8E2372 #8E7523 #238E3F
split-complementary
#233C8E #8E3F23 #728E23
monochromatic
#0B132C #17275D #233C8E #2F51BF #5674D5

Accessibility & contrast

On white

9.96
#233C8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#233C8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233C8E
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233C8E#FFFFFF#000000##FFFFFF
##233C8E1.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004891
Deuteranopia (green-blind)
#003E8C
Tritanopia (blue-blind)
#00505F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #233c8e;
/* rgb */ color: rgb(35, 60, 142);
/* oklch */ color: oklch(38.9% 0.139 266.8);
Tailwind
colors: {
  custom: {
    50: '#6e71b0',
    500: '#233c8e',
    950: '#000000',
  },
}
SCSS
$custom: #233c8e;
$custom-light: #6e71b0;
$custom-dark: #000000;
JSON
{
  "hex": "#233c8e",
  "rgb": {
    "r": 35,
    "g": 60,
    "b": 142
  },
  "hsl": {
    "h": 225.981,
    "s": 60.452,
    "l": 34.706
  },
  "oklch": {
    "l": 0.38898,
    "c": 0.13938,
    "h": 266.8
  },
  "luminance": 0.05542
}

Semantic roles & 50–950 ramp

primary
#233C8E
secondary
#B9A253
accent
#BE44E4
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #233C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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