#233B8C#233B8C

#233B8C is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.5% C 0.138 H 267.1°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#233B8C
RGBrgb(35, 59, 140)
HSLhsl(226, 60%, 34%)
HSVhsv(226, 75%, 55%)
CMYKcmyk(75%, 57.9%, 0%, 45.1%)
CIE-LABlab(27.79, 20.74, -47.75)
CIE-LCHlch(27.79, 52.06, 293.48°)
OKLaboklab(38.52% -0.007 -0.1376)
OKLCHoklch(38.52% 0.138 267.1)
XYZxyz(6.9891, 5.3780, 25.4756)
Luminance0.0538 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233B8C #8C7423
analogous
#23708C #233B8C #40238C
triadic
#233B8C #8C233B #3B8C23
tetradic
#233B8C #8C2370 #8C7423 #238C40
square
#233B8C #8C2370 #8C7423 #238C40
split-complementary
#233B8C #8C4023 #708C23
monochromatic
#0B122A #17265B #233B8C #2F50BD #5572D4

Accessibility & contrast

On white

10.12
#233B8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #233B8C
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233B8C#FFFFFF#000000##FFFFFF
##233B8C1.0010.122.0810.12
#FFFFFF10.121.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #233b8c;
/* rgb */ color: rgb(35, 59, 140);
/* oklch */ color: oklch(38.5% 0.138 267.1);
Tailwind
colors: {
  custom: {
    50: '#6e70ae',
    500: '#233b8c',
    950: '#000000',
  },
}
SCSS
$custom: #233b8c;
$custom-light: #6e70ae;
$custom-dark: #000000;
JSON
{
  "hex": "#233b8c",
  "rgb": {
    "r": 35,
    "g": 59,
    "b": 140
  },
  "hsl": {
    "h": 226.286,
    "s": 60,
    "l": 34.314
  },
  "oklch": {
    "l": 0.38519,
    "c": 0.13783,
    "h": 267.1
  },
  "luminance": 0.05379
}

Semantic roles & 50–950 ramp

primary
#233B8C
secondary
#B8A152
accent
#BF45E3
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #233B8C

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

Preview Lab → · Contrast checker → · Palette generator →

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