#233C8F#233C8F

#233C8F is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.0% C 0.141 H 266.9°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#233C8F
RGBrgb(35, 60, 143)
HSLhsl(226, 61%, 35%)
HSVhsv(226, 76%, 56%)
CMYKcmyk(75.5%, 58%, 0%, 43.9%)
CIE-LABlab(28.30, 21.23, -48.76)
CIE-LCHlch(28.30, 53.18, 293.53°)
OKLaboklab(38.98% -0.0076 -0.1406)
OKLCHoklch(38.98% 0.141 266.9)
XYZxyz(7.2652, 5.5714, 26.6738)
Luminance0.0557 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233C8F #8F7623
analogous
#23728F #233C8F #40238F
triadic
#233C8F #8F233C #3C8F23
tetradic
#233C8F #8F2372 #8F7623 #238F40
square
#233C8F #8F2372 #8F7623 #238F40
split-complementary
#233C8F #8F4023 #728F23
monochromatic
#0B132D #17275E #233C8F #2F51C0 #5774D6

Accessibility & contrast

On white

9.93
#233C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #233C8F
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233C8F#FFFFFF#000000##FFFFFF
##233C8F1.009.932.119.93
#FFFFFF9.931.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004892
Deuteranopia (green-blind)
#003E8D
Tritanopia (blue-blind)
#00515F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #233c8f;
/* rgb */ color: rgb(35, 60, 143);
/* oklch */ color: oklch(39.0% 0.141 266.9);
Tailwind
colors: {
  custom: {
    50: '#6e71b0',
    500: '#233c8f',
    950: '#000000',
  },
}
SCSS
$custom: #233c8f;
$custom-light: #6e71b0;
$custom-dark: #000000;
JSON
{
  "hex": "#233c8f",
  "rgb": {
    "r": 35,
    "g": 60,
    "b": 143
  },
  "hsl": {
    "h": 226.111,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.38984,
    "c": 0.14081,
    "h": 266.9
  },
  "luminance": 0.05572
}

Semantic roles & 50–950 ramp

primary
#233C8F
secondary
#BAA254
accent
#BF44E4
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080711
muted
#7B7A80

Preview Lab

Preview with #233C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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