#233E7B#233E7B

#233E7B is a dark, moderate blue. Relative luminance 0.052; OKLCH L 37.8% C 0.109 H 264.0°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#233E7B
RGBrgb(35, 62, 123)
HSLhsl(222, 56%, 31%)
HSVhsv(222, 72%, 48%)
CMYKcmyk(71.5%, 49.6%, 0%, 51.8%)
CIE-LABlab(27.39, 11.96, -37.79)
CIE-LCHlch(27.39, 39.64, 287.57°)
OKLaboklab(37.81% -0.0114 -0.1083)
OKLCHoklch(37.81% 0.109 264)
XYZxyz(5.9897, 5.2320, 19.4293)
Luminance0.0523 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233E7B #7B6023
analogous
#236A7B #233E7B #34237B
triadic
#233E7B #7B233E #3E7B23
tetradic
#233E7B #7B236A #7B6023 #237B34
square
#233E7B #7B236A #7B6023 #237B34
split-complementary
#233E7B #7B3423 #6A7B23
monochromatic
#080E1C #15264B #233E7B #3156AB #4C73CC

Accessibility & contrast

On white

10.26
#233E7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#233E7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233E7B
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233E7B#FFFFFF#000000##FFFFFF
##233E7B1.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E457D
Deuteranopia (green-blind)
#083D7A
Tritanopia (blue-blind)
#004C56
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #233e7b;
/* rgb */ color: rgb(35, 62, 123);
/* oklch */ color: oklch(37.8% 0.109 264.0);
Tailwind
colors: {
  custom: {
    50: '#6972a2',
    500: '#233e7b',
    950: '#000000',
  },
}
SCSS
$custom: #233e7b;
$custom-light: #6972a2;
$custom-dark: #000000;
JSON
{
  "hex": "#233e7b",
  "rgb": {
    "r": 35,
    "g": 62,
    "b": 123
  },
  "hsl": {
    "h": 221.591,
    "s": 55.696,
    "l": 30.98
  },
  "oklch": {
    "l": 0.37813,
    "c": 0.10892,
    "h": 264
  },
  "luminance": 0.05233
}

Semantic roles & 50–950 ramp

primary
#233E7B
secondary
#AE904C
accent
#B149DF
background
#F6F6FA
surface
#ECECF3
border
#C7C7CD
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #233E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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