#233B7C#233B7C

#233B7C is a dark, moderate blue. Relative luminance 0.049; OKLCH L 37.2% C 0.114 H 265.8°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#233B7C
RGBrgb(35, 59, 124)
HSLhsl(224, 56%, 31%)
HSVhsv(224, 72%, 49%)
CMYKcmyk(71.8%, 52.4%, 0%, 51.4%)
CIE-LABlab(26.56, 14.45, -39.75)
CIE-LCHlch(26.56, 42.29, 289.97°)
OKLaboklab(37.21% -0.0084 -0.1141)
OKLCHoklch(37.21% 0.114 265.8)
XYZxyz(5.8939, 4.9399, 19.7078)
Luminance0.0494 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233B7C #7C6423
analogous
#23677C #233B7C #37237C
triadic
#233B7C #7C233B #3B7C23
tetradic
#233B7C #7C2367 #7C6423 #237C37
square
#233B7C #7C2367 #7C6423 #237C37
split-complementary
#233B7C #7C3723 #677C23
monochromatic
#080E1D #16244C #233B7C #3052AC #4D6FCD

Accessibility & contrast

On white

10.56
#233B7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#233B7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233B7C
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233B7C#FFFFFF#000000##FFFFFF
##233B7C1.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15437E
Deuteranopia (green-blind)
#003B7B
Tritanopia (blue-blind)
#004A55
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #233b7c;
/* rgb */ color: rgb(35, 59, 124);
/* oklch */ color: oklch(37.2% 0.114 265.8);
Tailwind
colors: {
  custom: {
    50: '#6a70a2',
    500: '#233b7c',
    950: '#000000',
  },
}
SCSS
$custom: #233b7c;
$custom-light: #6a70a2;
$custom-dark: #000000;
JSON
{
  "hex": "#233b7c",
  "rgb": {
    "r": 35,
    "g": 59,
    "b": 124
  },
  "hsl": {
    "h": 223.82,
    "s": 55.975,
    "l": 31.176
  },
  "oklch": {
    "l": 0.37208,
    "c": 0.11443,
    "h": 265.8
  },
  "luminance": 0.0494
}

Semantic roles & 50–950 ramp

primary
#233B7C
secondary
#AF944C
accent
#B749DF
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #233B7C

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

Preview Lab → · Contrast checker → · Palette generator →

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