#233A7D#233A7D

#233A7D is a dark, moderate blue. Relative luminance 0.049; OKLCH L 37.1% C 0.117 H 266.4°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#233A7D
RGBrgb(35, 58, 125)
HSLhsl(225, 56%, 31%)
HSVhsv(225, 72%, 49%)
CMYKcmyk(72%, 53.6%, 0%, 51%)
CIE-LABlab(26.34, 15.54, -40.73)
CIE-LCHlch(26.34, 43.60, 290.88°)
OKLaboklab(37.06% -0.0073 -0.117)
OKLCHoklch(37.06% 0.117 266.4)
XYZxyz(5.9066, 4.8635, 20.0255)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233A7D #7D6623
analogous
#23677D #233A7D #39237D
triadic
#233A7D #7D233A #3A7D23
tetradic
#233A7D #7D2367 #7D6623 #237D39
square
#233A7D #7D2367 #7D6623 #237D39
split-complementary
#233A7D #7D3923 #677D23
monochromatic
#080E1D #16244D #233A7D #3050AD #4D6ECD

Accessibility & contrast

On white

10.64
#233A7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#233A7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233A7D
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233A7D#FFFFFF#000000##FFFFFF
##233A7D1.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10437F
Deuteranopia (green-blind)
#003A7C
Tritanopia (blue-blind)
#004A55
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #233a7d;
/* rgb */ color: rgb(35, 58, 125);
/* oklch */ color: oklch(37.1% 0.117 266.4);
Tailwind
colors: {
  custom: {
    50: '#6a6fa3',
    500: '#233a7d',
    950: '#000000',
  },
}
SCSS
$custom: #233a7d;
$custom-light: #6a6fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#233a7d",
  "rgb": {
    "r": 35,
    "g": 58,
    "b": 125
  },
  "hsl": {
    "h": 224.667,
    "s": 56.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.37063,
    "c": 0.11727,
    "h": 266.4
  },
  "luminance": 0.04864
}

Semantic roles & 50–950 ramp

primary
#233A7D
secondary
#AF964C
accent
#B948E0
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #233A7D

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

Preview Lab → · Contrast checker → · Palette generator →

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