#233A5D#233A5D

#233A5D is a dark, moderate blue. Relative luminance 0.042; OKLCH L 34.8% C 0.068 H 258.5°. Best body text is #FFFFFF at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#233A5D
RGBrgb(35, 58, 93)
HSLhsl(216, 45%, 25%)
HSVhsv(216, 62%, 36%)
CMYKcmyk(62.4%, 37.6%, 0%, 63.5%)
CIE-LABlab(24.24, 3.07, -23.60)
CIE-LCHlch(24.24, 23.80, 277.42°)
OKLaboklab(34.77% -0.0135 -0.0668)
OKLCHoklch(34.77% 0.068 258.5)
XYZxyz(4.1813, 4.1734, 10.9390)
Luminance0.0417 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233A5D #5D4623
analogous
#23575D #233A5D #29235D
triadic
#233A5D #5D233A #3A5D23
tetradic
#233A5D #5D2357 #5D4623 #235D29
square
#233A5D #5D2357 #5D4623 #235D29
split-complementary
#233A5D #5D2923 #575D23
monochromatic
#080E16 #121E31 #233A5D #345689 #4471B6

Accessibility & contrast

On white

11.45
#233A5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#233A5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233A5D
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233A5D#FFFFFF#000000##FFFFFF
##233A5D1.0011.451.8311.45
#FFFFFF11.451.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3D5E
Deuteranopia (green-blind)
#24375C
Tritanopia (blue-blind)
#004247
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #233a5d;
/* rgb */ color: rgb(35, 58, 93);
/* oklch */ color: oklch(34.8% 0.068 258.5);
Tailwind
colors: {
  custom: {
    50: '#636f8b',
    500: '#233a5d',
    950: '#000000',
  },
}
SCSS
$custom: #233a5d;
$custom-light: #636f8b;
$custom-dark: #000000;
JSON
{
  "hex": "#233a5d",
  "rgb": {
    "r": 35,
    "g": 58,
    "b": 93
  },
  "hsl": {
    "h": 216.207,
    "s": 45.312,
    "l": 25.098
  },
  "oklch": {
    "l": 0.34766,
    "c": 0.06812,
    "h": 258.5
  },
  "luminance": 0.04174
}

Semantic roles & 50–950 ramp

primary
#233A5D
secondary
#91754B
accent
#A153D5
background
#F6F6F8
surface
#EBECF0
border
#C6C7CB
text
#06070C
muted
#7A7A7D

Preview Lab

Preview with #233A5D

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

Preview Lab → · Contrast checker → · Palette generator →

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