#233B8E#233B8E

#233B8E is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.7% C 0.141 H 267.2°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#233B8E
RGBrgb(35, 59, 142)
HSLhsl(227, 60%, 35%)
HSVhsv(227, 75%, 56%)
CMYKcmyk(75.4%, 58.5%, 0%, 44.3%)
CIE-LABlab(27.95, 21.53, -48.72)
CIE-LCHlch(27.95, 53.26, 293.84°)
OKLaboklab(38.69% -0.0069 -0.1405)
OKLCHoklch(38.69% 0.141 267.2)
XYZxyz(7.1379, 5.4375, 26.2593)
Luminance0.0544 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233B8E #8E7623
analogous
#23718E #233B8E #41238E
triadic
#233B8E #8E233B #3B8E23
tetradic
#233B8E #8E2371 #8E7623 #238E41
square
#233B8E #8E2371 #8E7623 #238E41
split-complementary
#233B8E #8E4123 #718E23
monochromatic
#0B122C #17275D #233B8E #2F4FBF #5673D5

Accessibility & contrast

On white

10.06
#233B8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#233B8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233B8E
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233B8E#FFFFFF#000000##FFFFFF
##233B8E1.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004791
Deuteranopia (green-blind)
#003D8C
Tritanopia (blue-blind)
#00505E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #233b8e;
/* rgb */ color: rgb(35, 59, 142);
/* oklch */ color: oklch(38.7% 0.141 267.2);
Tailwind
colors: {
  custom: {
    50: '#6e70b0',
    500: '#233b8e',
    950: '#000000',
  },
}
SCSS
$custom: #233b8e;
$custom-light: #6e70b0;
$custom-dark: #000000;
JSON
{
  "hex": "#233b8e",
  "rgb": {
    "r": 35,
    "g": 59,
    "b": 142
  },
  "hsl": {
    "h": 226.542,
    "s": 60.452,
    "l": 34.706
  },
  "oklch": {
    "l": 0.3869,
    "c": 0.14069,
    "h": 267.2
  },
  "luminance": 0.05438
}

Semantic roles & 50–950 ramp

primary
#233B8E
secondary
#B9A353
accent
#C044E4
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #233B8E

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

Preview Lab → · Contrast checker → · Palette generator →

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